Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8fc2376

Browse filesBrowse files
committed
Update collections test
1 parent a799f56 commit 8fc2376
Copy full SHA for 8fc2376

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎lib/matplotlib/tests/test_collections.py

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/test_collections.py
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.