Skip to content

Commit 94cef91

Browse files
committed
i
1 parent 7b00e95 commit 94cef91

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

python_files/tests/test_shell_integration.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,13 @@ def test_print_statement_darwin(monkeypatch):
6666
importlib.reload(pythonrc)
6767
with monkeypatch.context() as m:
6868
m.setattr("builtins.print", Mock())
69+
importlib.reload(sys.modules["pythonrc"])
6970
print.assert_any_call("Cmd click to launch VS Code Native REPL")
7071

7172
if sys.platform == "win32":
7273
def test_print_statement_non_darwin(monkeypatch):
7374
importlib.reload(pythonrc)
7475
with monkeypatch.context() as m:
7576
m.setattr('builtins.print', Mock())
77+
importlib.reload(sys.modules["pythonrc"])
7678
print.assert_any_call("Ctrl click to launch VS Code Native REPL")

0 commit comments

Comments
 (0)