We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 120633d commit dee6ecaCopy full SHA for dee6eca
test_cycler.py
@@ -95,6 +95,8 @@ def test_failures():
95
assert_raises(ValueError, iadd, c1, c2)
96
assert_raises(ValueError, mul, c1, c2)
97
assert_raises(ValueError, imul, c1, c2)
98
+ assert_raises(TypeError, iadd, c2, 'aardvark')
99
+ assert_raises(TypeError, imul, c2, 'aardvark')
100
101
c3 = cycler(ec=c1)
102
@@ -265,6 +267,8 @@ def test_eq():
265
267
yield _eq_test_helper, a, c, False
266
268
d = cycler(c='ymk')
269
yield _eq_test_helper, b, d, False
270
+ e = cycler(c='orange')
271
+ yield _eq_test_helper, b, e, False
272
273
274
def test_cycler_exceptions():
0 commit comments