diff options
Diffstat (limited to 'setuptools/tests/test_editable_install.py')
-rw-r--r-- | setuptools/tests/test_editable_install.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/setuptools/tests/test_editable_install.py b/setuptools/tests/test_editable_install.py index 58a74100..c83e2e46 100644 --- a/setuptools/tests/test_editable_install.py +++ b/setuptools/tests/test_editable_install.py @@ -874,9 +874,8 @@ class TestCustomBuildWheel: cmd = editable_wheel(dist) cmd.ensure_finalized() cmd.run() - wheel_file = str(next(Path().glob('dist/*'))) + wheel_file = str(next(Path().glob('dist/*.whl'))) assert "editable" in wheel_file - assert wheel_file.endswith(".whl") class TestCustomBuildExt: @@ -900,7 +899,7 @@ class TestCustomBuildExt: cmd = editable_wheel(dist) cmd.ensure_finalized() cmd.run() - wheel_file = str(next(Path().glob('dist/*'))) + wheel_file = str(next(Path().glob('dist/*.whl'))) assert "editable" in wheel_file files = [p for p in Path().glob("module.*") if p.suffix != ".c"] assert len(files) == 1 |