Fix broken test

This commit is contained in:
Homer McMillan
2019-02-02 22:41:34 -05:00
parent ea1a7bb395
commit 2b74727783

View File

@@ -21,10 +21,10 @@ except ValueError:
else:
assert False, "ValueError was not raised"
x = [[1,2,3], 'a', 1]
y = [[3,1,1], 'z', 2]
x = [[1,0,-3], 'a', 1]
y = [[3,2,1], 'z', 2]
assert x < y, "list __lt__ failed"
x = [5, -3, 1]
x = [5, 13, 31]
y = [1, 10, 29]
assert x > y, "list __gt__ failed"
assert x > y, "list __gt__ failed"