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 fd07fd1

Browse filesBrowse files
committed
FIX: Removing full_invalid warning check
The numpy UserWarning is no longer raised, so remove that expectation from the test. Keep the smoke test to make sure no new errors/warnings come along later.
1 parent 2c59935 commit fd07fd1
Copy full SHA for fd07fd1

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎lib/matplotlib/tests/test_image.py

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/test_image.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -997,8 +997,8 @@ def test_imshow_bool():
997997
def test_full_invalid():
998998
fig, ax = plt.subplots()
999999
ax.imshow(np.full((10, 10), np.nan))
1000-
with pytest.warns(UserWarning):
1001-
fig.canvas.draw()
1000+
1001+
fig.canvas.draw()
10021002

10031003

10041004
@pytest.mark.parametrize("fmt,counted",

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.