Skip to content

Commit

Permalink
fix 2.6 test, better comment
Browse files Browse the repository at this point in the history
  • Loading branch information
rtaycher committed Aug 31, 2020
1 parent 3f1ff7e commit ddedcb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_past/test_misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class TestCmp(unittest.TestCase):
def test_cmp(self):
for x, y, cmp_python2_value in test_values.cmp_python2_value:
if PY26:
# set comparison works a bit differently in 2.6
# set cmp works a bit differently in 2.6, we try to emulate 2.7 behavior, so skip set cmp tests
if isinstance(x, set) or isinstance(y, set):
continue
# to get this to run on python <3.4 which lacks subTest
Expand Down

0 comments on commit ddedcb9

Please sign in to comment.