Skip to content

Commit ddedcb9

Browse files
committedAug 31, 2020
fix 2.6 test, better comment
1 parent 3f1ff7e commit ddedcb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎tests/test_past/test_misc.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class TestCmp(unittest.TestCase):
3030
def test_cmp(self):
3131
for x, y, cmp_python2_value in test_values.cmp_python2_value:
3232
if PY26:
33-
# set comparison works a bit differently in 2.6
33+
# set cmp works a bit differently in 2.6, we try to emulate 2.7 behavior, so skip set cmp tests
3434
if isinstance(x, set) or isinstance(y, set):
3535
continue
3636
# to get this to run on python <3.4 which lacks subTest

0 commit comments

Comments
 (0)