Skip to content

Commit 17dbe4d

Browse files
committed
TST: Adjust to state tracking on 3.5.x branch
The implementation of tracking if the repl displayhook is installed changed on main. Adjust the backported test to work with the old way.
1 parent 829b699 commit 17dbe4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/tests/test_pyplot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ def test_pylab_integration():
345345
"-c",
346346
";".join((
347347
"import matplotlib.pyplot as plt",
348-
"assert plt._REPL_DISPLAYHOOK == plt._ReplDisplayHook.IPYTHON",
348+
"assert plt._REPL_DISPLAYHOOK is not None",
349349
)),
350350
timeout=60,
351351
)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy