Commits

Amaury Forgeot d'Arc  committed 61cb95e

Skip a test like the 2.7 test suite

  • Participants
  • Parent commits 89f4a12
  • Branches py3k

Comments (0)

Files changed (1)

File lib-python/3.2/test/test_genexps.py

 
 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