Skip to content

Commit

Permalink
Be explicit about packages
Browse files Browse the repository at this point in the history
  • Loading branch information
abravalheri committed Apr 4, 2022
1 parent 437b890 commit 9cb8a41
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion setuptools/tests/test_easy_install.py
Original file line number Diff line number Diff line change
Expand Up @@ -1194,7 +1194,9 @@ def test_editable_user_and_build_isolation(setup_context, monkeypatch, tmp_path)
sys_prefix.mkdir(parents=True, exist_ok=True)
monkeypatch.setattr('sys.prefix', str(sys_prefix))

setup_script = "__import__('setuptools').setup(name='aproj', version=42)\n"
setup_script = (
"__import__('setuptools').setup(name='aproj', version=42, packages=[])\n"
)
(tmp_path / "setup.py").write_text(setup_script, encoding="utf-8")

# == Sanity check ==
Expand Down

0 comments on commit 9cb8a41

Please sign in to comment.