projects
/
platform
/
upstream
/
python-cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a6517c
)
fix doctest in Py3
author
Stefan Behnel
<stefan_ml@behnel.de>
Wed, 25 Dec 2013 13:28:44 +0000
(14:28 +0100)
committer
Stefan Behnel
<stefan_ml@behnel.de>
Wed, 25 Dec 2013 13:28:44 +0000
(14:28 +0100)
tests/run/constant_folding.py
patch
|
blob
|
history
diff --git
a/tests/run/constant_folding.py
b/tests/run/constant_folding.py
index
badc460
..
b19b491
100644
(file)
--- a/
tests/run/constant_folding.py
+++ b/
tests/run/constant_folding.py
@@
-452,7
+452,7
@@
def const_in_binop(v):
>>> const_in_binop(1 << 32 - 1)
0
"""
- if v < 0 or v >= (1
L
<< 32):
+ if v < 0 or v >= (1 << 32):
return 1
else:
return 0