[pypy-commit] pypy py3k: Skip a test like the 2.7 test suite

amauryfa noreply at buildbot.pypy.org
Sun Dec 9 22:58:58 CET 2012


Author: Amaury Forgeot d'Arc <amauryfa at gmail.com>
Branch: py3k
Changeset: r59376:61cb95e03d2c
Date: 2012-12-09 19:40 +0100
http://bitbucket.org/pypy/pypy/changeset/61cb95e03d2c/

Log:	Skip a test like the 2.7 test suite

diff --git a/lib-python/3.2/test/test_genexps.py b/lib-python/3.2/test/test_genexps.py
--- a/lib-python/3.2/test/test_genexps.py
+++ b/lib-python/3.2/test/test_genexps.py
@@ -128,8 +128,9 @@
 
 Verify re-use of tuples (a side benefit of using genexps over listcomps)
 
+    >>> from test.support import check_impl_detail
     >>> tupleids = list(map(id, ((i,i) for i in range(10))))
-    >>> int(max(tupleids) - min(tupleids))
+    >>> int(max(tupleids) - min(tupleids)) if check_impl_detail() else 0
     0
 
 Verify that syntax error's are raised for genexps used as lvalues


More information about the pypy-commit mailing list