Author: Amaury Forgeot d'Arc <[email protected]>
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
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to