Skip to content

Commit 22ad3ee

Browse files
committed
Remove tests/alt-fixtures/twine-1.5.0-py2.py3-none-any.whl
This test file was added in 8b8790b (Add tests to ensure version parsing does not regress, part of pypa#147) with the intent of testing the target Python version from wheel file names. However, the filename is identical to the one of the other text fixture tests/fixtures/twine-1.5.0-py2.py3-none-any.whl thus it does not appear to add any additional coverage to the code extracting the target Python version.
1 parent eb128f7 commit 22ad3ee

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed
Binary file not shown.

tests/test_wheel.py

+3-9
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,11 @@
2222
from twine import exceptions
2323
from twine import wheel
2424

25-
from . import helpers
2625

27-
28-
@pytest.fixture(
29-
params=[
30-
"fixtures/twine-1.5.0-py2.py3-none-any.whl",
31-
"alt-fixtures/twine-1.5.0-py2.py3-none-any.whl",
32-
]
33-
)
26+
@pytest.fixture()
3427
def example_wheel(request):
35-
file_name = os.path.join(helpers.TESTS_DIR, request.param)
28+
parent = pathlib.Path(__file__).parent
29+
file_name = str(parent / "fixtures" / "twine-1.5.0-py2.py3-none-any.whl")
3630
return wheel.Wheel(file_name)
3731

3832

0 commit comments

Comments
 (0)