Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 82d0d13

Browse files
committed
Update collections test
1 parent dcda54e commit 82d0d13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/tests/test_collections.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -794,7 +794,7 @@ def test_collection_set_array():
794794

795795
# Test set_array with wrong dtype
796796
with pytest.raises(TypeError, match="^Image data of dtype"):
797-
c.set_array("wrong_input")
797+
c.set_array(object())
798798

799799
# Test if array kwarg is copied
800800
vals[5] = 45

0 commit comments

Comments
 (0)