Skip to content

Commit a11ffa7

Browse files
committed
Manually specify the output of methoddescr.py
The behavior changed in CPython 2.7.4, and Travis-CI runs 2.7.3.
1 parent 6dd62f7 commit a11ffa7

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

test/tests/methoddescr.expected

Whitespace-only changes.

test/tests/methoddescr.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
1+
# This code was legal in CPython 2.7.3 but became illegal in 2.7.4
2+
# (there is a methoddescr.expected file for this test)
3+
14
for i in xrange(1000):
2-
print float.__dict__['fromhex'](float, "f0.04a")
5+
float.__dict__['fromhex'](float, "f0.04a")

0 commit comments

Comments
 (0)