Skip to content

Commit 81a4224

Browse files
committed
Remove now duplicative imports
1 parent 84a04ba commit 81a4224

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

tests/test_editable.py

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -209,22 +209,7 @@ def test_direct_import(monkeypatch, tmp_path, editable, editable_mode, isolated)
209209
_setup_package_for_editable_layout_tests( # type: ignore[no-untyped-call]
210210
monkeypatch, tmp_path, editable, editable_mode, isolated
211211
)
212-
isolated.execute(
213-
textwrap.dedent(
214-
"""
215-
import pkg
216-
import pkg.pure
217-
import pkg.subpkg1
218-
import pkg.subpkg1.pure
219-
import pkg.subpkg2
220-
import pkg.subpkg2.pure
221-
import pkg.subpkg2.subsubpkg1
222-
import pkg.subpkg2.subsubpkg1.pure
223-
import pkg.subpkg2.subsubpkg2
224-
import pkg.subpkg2.subsubpkg2.pure
225-
"""
226-
)
227-
)
212+
isolated.execute("import pkg")
228213

229214

230215
@pytest.mark.compile

0 commit comments

Comments
 (0)