We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c95dfa commit 3391470Copy full SHA for 3391470
tests/test_zmq_shell.py
@@ -249,7 +249,12 @@ def test_zmq_interactive_shell(kernel):
249
if os.name == "posix":
250
shell.system_piped("ls")
251
else:
252
- shell.system_piped("dir")
+ # This should be fixed by https://github.com/ipython/ipython/pull/14749,
253
+ # but may take some time to be released,
254
+ # once old, enough remove this catch warnings.
255
+ with warnings.catch_warnings():
256
+ warnings.filterwarnings("ignore", category=ResourceWarning, message="unclosed file")
257
+ shell.system_piped("dir")
258
shell.ask_exit()
259
260
0 commit comments