We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a80479 commit 438b6ecCopy full SHA for 438b6ec
future/tests/test_futurize.py
@@ -1026,7 +1026,15 @@ def test_issue_12(self):
1026
"""
1027
self.unchanged(code)
1028
1029
+ @expectedFailurePY26
1030
def test_range_necessary_list_calls(self):
1031
+ """
1032
+ On Py2.6 (only), the xrange_with_import fixer somehow seems to cause
1033
+ l = range(10)
1034
+ to be converted to:
1035
+ l = list(list(range(10)))
1036
+ with an extra list(...) call.
1037
1038
before = """
1039
l = range(10)
1040
assert isinstance(l, list)
0 commit comments