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 6c020e8

Browse filesBrowse files
authored
Merge pull request matplotlib#11843 from QuLogic/no-nose
TST: Remove unnecessary use of nose.
2 parents 4d1d12c + 8124270 commit 6c020e8
Copy full SHA for 6c020e8

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+2
-3
lines changed

‎lib/matplotlib/tests/test_text.py

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/test_text.py
+2-3Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -508,6 +508,5 @@ def test_annotation_update():
508508
fig.tight_layout()
509509
extent2 = an.get_window_extent(fig.canvas.get_renderer())
510510

511-
np.testing.assert_raises(AssertionError, np.testing.assert_allclose,
512-
extent1.get_points(), extent2.get_points(),
513-
rtol=1e-6)
511+
assert not np.allclose(extent1.get_points(), extent2.get_points(),
512+
rtol=1e-6)

0 commit comments

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