[pypy-svn] r37706 - pypy/dist/pypy/objspace/std/test
cfbolz at codespeak.net
cfbolz at codespeak.net
Thu Feb 1 00:32:20 CET 2007
Author: cfbolz
Date: Thu Feb 1 00:32:17 2007
New Revision: 37706
Modified:
pypy/dist/pypy/objspace/std/test/test_shadowtracking.py
Log:
remove debug prints (they are uplevel and can therefore come through the
py.test output capturing)
Modified: pypy/dist/pypy/objspace/std/test/test_shadowtracking.py
==============================================================================
--- pypy/dist/pypy/objspace/std/test/test_shadowtracking.py (original)
+++ pypy/dist/pypy/objspace/std/test/test_shadowtracking.py Thu Feb 1 00:32:17 2007
@@ -109,7 +109,6 @@
for i, a in enumerate(l):
assert a.f() == 42 + i % 3
cache_counter = pypymagic.method_cache_counter("f")
- print cache_counter
assert cache_counter[1] >= 3 # should be (27, 3)
assert sum(cache_counter) == 30
@@ -133,7 +132,6 @@
for i, a in enumerate(l):
assert a.f() == 42 + i % 3
cache_counter = pypymagic.method_cache_counter("f")
- print cache_counter
assert cache_counter[1] >= 2 # should be (18, 2)
assert sum(cache_counter) == 20
@@ -148,7 +146,6 @@
assert a.f() == 42 + i
A.f = eval("lambda self: %s" % (42 + i + 1, ))
cache_counter = pypymagic.method_cache_counter("f")
- print cache_counter
assert cache_counter == (0, 10)
def test_subclasses(self):
@@ -166,7 +163,6 @@
for i, a in enumerate(l):
assert a.f() == 42 + (i % 3 == 1)
cache_counter = pypymagic.method_cache_counter("f")
- print cache_counter
assert cache_counter[1] >= 3 # should be (27, 3)
assert sum(cache_counter) == 30
More information about the Pypy-commit
mailing list