Skip to content

Commit dee6eca

Browse files
committed
TST: push back to 100% test coverage
1 parent 120633d commit dee6eca

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test_cycler.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@ def test_failures():
9595
assert_raises(ValueError, iadd, c1, c2)
9696
assert_raises(ValueError, mul, c1, c2)
9797
assert_raises(ValueError, imul, c1, c2)
98+
assert_raises(TypeError, iadd, c2, 'aardvark')
99+
assert_raises(TypeError, imul, c2, 'aardvark')
98100

99101
c3 = cycler(ec=c1)
100102

@@ -265,6 +267,8 @@ def test_eq():
265267
yield _eq_test_helper, a, c, False
266268
d = cycler(c='ymk')
267269
yield _eq_test_helper, b, d, False
270+
e = cycler(c='orange')
271+
yield _eq_test_helper, b, e, False
268272

269273

270274
def test_cycler_exceptions():

0 commit comments

Comments
 (0)