Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c15a828 commit 9f44815Copy full SHA for 9f44815
1 file changed
Lib/test/test_grammar.py
@@ -37,10 +37,7 @@
37
try:
38
x = eval(s)
39
except OverflowError:
40
- continue
41
-## raise TestFailed, \
42
- print \
43
- 'No OverflowError on huge integer literal ' + `s`
+ print "OverflowError on huge integer literal " + `s`
44
elif eval('maxint == 9223372036854775807'):
45
if eval('-9223372036854775807-1 != 01000000000000000000000'):
46
raise TestFailed, 'max negative int'
@@ -51,9 +48,7 @@
51
48
52
49
53
50
54
55
- raise TestFailed, \
56
57
else:
58
print 'Weird maxint value', maxint
59
0 commit comments