Skip to content

Commit f7596e9

Browse files
authored
Merge pull request #7983 from QuLogic/fix-pytest
Remove assert_true calls from new PRs.
2 parents 7fe4a60 + 6d944d6 commit f7596e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/tests/test_figure.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,12 @@ def test_clf_keyword():
5858

5959
fig1 = plt.figure(num=1, clear=False)
6060
fig1.text(0.5, 0.5, "Really fancy!")
61-
assert_true(fig0 is fig1)
61+
assert fig0 is fig1
6262
assert_equal([t.get_text() for t in fig1.texts],
6363
["A fancy plot", 'Really fancy!'])
6464

6565
fig2, ax2 = plt.subplots(2, 1, num=1, clear=True)
66-
assert_true(fig0 is fig2)
66+
assert fig0 is fig2
6767
assert_equal([t.get_text() for t in fig2.texts], [])
6868

6969

0 commit comments

Comments
 (0)