fix: test_build_default_launches to use an empty package dir
test_build_default_launches was using cibuildwheel setup.cfg which led to the test failing once python 3.6 was dropped. Use an empty package, provided by fake_package_dir, to run the test.
This commit is contained in:
@@ -44,7 +44,7 @@ def mock_build_container(monkeypatch):
|
||||
|
||||
|
||||
def test_build_default_launches(mock_build_container, fake_package_dir, monkeypatch):
|
||||
monkeypatch.setattr(sys, "argv", ["cibuildwheel", "--platform=linux"])
|
||||
monkeypatch.setattr(sys, "argv", sys.argv + ["--platform=linux"])
|
||||
|
||||
main()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user