[pypy-commit] pypy default: fix test
mattip
pypy.commits at gmail.com
Wed Feb 7 08:48:43 EST 2018
Author: Matti Picus <matti.picus at gmail.com>
Branch:
Changeset: r93780:14abb2e081c8
Date: 2018-02-07 15:47 +0200
http://bitbucket.org/pypy/pypy/changeset/14abb2e081c8/
Log: fix test
diff --git a/pypy/module/cpyext/test/test_object.py b/pypy/module/cpyext/test/test_object.py
--- a/pypy/module/cpyext/test/test_object.py
+++ b/pypy/module/cpyext/test/test_object.py
@@ -244,7 +244,7 @@
if not cls.runappdirect:
cls.total_mem = 0
- def add_memory_pressure(estimate):
+ def add_memory_pressure(estimate, object=None):
assert estimate >= 0
cls.total_mem += estimate
cls.orig_add_memory_pressure = [rgc.add_memory_pressure]
More information about the pypy-commit
mailing list