Skip to content

Commit 9831611

Browse files
style: pre-commit fixes
1 parent 9d46ab8 commit 9831611

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/test_interpreters.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,9 @@ def test_independent_subinterpreters():
5858
interpreters.destroy(interp1)
5959
interpreters.destroy(interp2)
6060

61-
assert "does not support loading in subinterpreters" in res0.msg, "cannot use shared_gil in a default subinterpreter"
61+
assert "does not support loading in subinterpreters" in res0.msg, (
62+
"cannot use shared_gil in a default subinterpreter"
63+
)
6264
assert res1 != m.internals_at(), "internals should differ from main interpreter"
6365
assert res2 != m.internals_at(), "internals should differ from main interpreter"
6466
assert res1 != res2, "internals should differ between interpreters"
@@ -70,6 +72,7 @@ def test_independent_subinterpreters():
7072
"internals should be the same within the main interpreter"
7173
)
7274

75+
7376
@pytest.mark.skipif(
7477
sys.platform.startswith("emscripten"), reason="Requires loadable modules"
7578
)
@@ -116,6 +119,7 @@ def test_dependent_subinterpreters():
116119

117120
# do this after the two interpreters are destroyed and only one remains
118121
import mod_test_interpreters2 as m3
122+
119123
assert m.internals_at() == m3.internals_at(), (
120124
"internals should be the same within the main interpreter"
121125
)

0 commit comments

Comments
 (0)