Skip to content

Commit f9e2f85

Browse files
committed
ruff my imports
1 parent b39dcd1 commit f9e2f85

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

python_files/tests/test_shell_integration.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
import platform
33
import sys
44
from unittest.mock import Mock
5+
56
import pythonrc
67

78
is_wsl = "microsoft-standard-WSL" in platform.release()
@@ -61,15 +62,19 @@ def test_excepthook_call():
6162
hooks.my_excepthook("mock_type", "mock_value", "mock_traceback")
6263
mock_excepthook.assert_called_once_with("mock_type", "mock_value", "mock_traceback")
6364

65+
6466
if sys.platform == "darwin":
67+
6568
def test_print_statement_darwin(monkeypatch):
6669
importlib.reload(pythonrc)
6770
with monkeypatch.context() as m:
6871
m.setattr("builtins.print", Mock())
6972
importlib.reload(sys.modules["pythonrc"])
7073
print.assert_any_call("Cmd click to launch VS Code Native REPL")
7174

75+
7276
if sys.platform == "win32":
77+
7378
def test_print_statement_non_darwin(monkeypatch):
7479
importlib.reload(pythonrc)
7580
with monkeypatch.context() as m:

0 commit comments

Comments
 (0)