mirror of
https://github.com/python/cpython.git
synced 2025-11-03 03:22:27 +00:00
Fix one of the tests that fails on the "x86 OpenBSD trunk" buildbot, due
to that id() may return a long on a 32-bit box now. On a box that assigns addresses "with the sign bit set", id() always returns a long now.
This commit is contained in:
parent
3daf304f3b
commit
88459359b1
1 changed files with 1 additions and 1 deletions
|
|
@ -129,7 +129,7 @@ Verify late binding for the innermost for-expression
|
||||||
Verify re-use of tuples (a side benefit of using genexps over listcomps)
|
Verify re-use of tuples (a side benefit of using genexps over listcomps)
|
||||||
|
|
||||||
>>> tupleids = map(id, ((i,i) for i in xrange(10)))
|
>>> tupleids = map(id, ((i,i) for i in xrange(10)))
|
||||||
>>> max(tupleids) - min(tupleids)
|
>>> int(max(tupleids) - min(tupleids))
|
||||||
0
|
0
|
||||||
|
|
||||||
Verify that syntax error's are raised for genexps used as lvalues
|
Verify that syntax error's are raised for genexps used as lvalues
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue