Skip to content

Commit 7448097

Browse files
committed
Disable a broken OrderedDict test on Py2.6
1 parent d6973c2 commit 7448097

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/test_future/test_backports.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -437,6 +437,9 @@ def test_update(self):
437437
od.update([('a', 1), ('b', 2), ('c', 9), ('d', 4)], c=3, e=5)
438438
self.assertEqual(list(od.items()), pairs) # mixed input
439439

440+
### The tests below fail on Py2.6
441+
if PY26:
442+
return
440443
# Issue 9137: Named argument called 'other' or 'self'
441444
# shouldn't be treated specially.
442445
od = OrderedDict()

0 commit comments

Comments
 (0)