8000 test adapted to code change (AssertionError -> ValueError) · matplotlib/matplotlib@b167c0c · GitHub
[go: up one dir, main page]

Skip to content

Commit b167c0c

Browse files
committed
test adapted to code change (AssertionError -> ValueError)
1 parent 95ae2cd commit b167c0c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/tests/test_rcparams.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,8 +227,8 @@ def test_validators():
227227
(['a', 'b'], ['a', 'b']),
228228
(('a', 'b'), ['a', 'b']),
229229
((1, 2), ['1', '2'])),
230-
'fail': ((dict(), AssertionError),
231-
(1, AssertionError),)
230+
'fail': ((dict(), ValueError),
231+
(1, ValueError),)
232232
},
233233
{'validator': validate_nseq_int(2),
234234
'success': ((_, [1, 2])

0 commit comments

Comments
 (0)
0