diff --git a/tests/alt-fixtures/twine-1.5.0-py2.py3-none-any.whl b/tests/alt-fixtures/twine-1.5.0-py2.py3-none-any.whl deleted file mode 100644 index af870cd4..00000000 Binary files a/tests/alt-fixtures/twine-1.5.0-py2.py3-none-any.whl and /dev/null differ diff --git a/tests/fixtures/twine-1.5.0.zip b/tests/fixtures/twine-1.5.0.zip deleted file mode 100644 index 55cbf7a1..00000000 Binary files a/tests/fixtures/twine-1.5.0.zip and /dev/null differ diff --git a/tests/test_sdist.py b/tests/test_sdist.py index 27bbabc8..eb50b979 100644 --- a/tests/test_sdist.py +++ b/tests/test_sdist.py @@ -17,7 +17,6 @@ params=[ "fixtures/twine-1.5.0.tar.gz", "fixtures/twine-1.6.5.tar.gz", - "fixtures/twine-1.5.0.zip", ] ) def example_sdist(request): diff --git a/tests/test_wheel.py b/tests/test_wheel.py index 0dedf6cc..4c4a2124 100644 --- a/tests/test_wheel.py +++ b/tests/test_wheel.py @@ -11,7 +11,6 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -import os import pathlib import re import zipfile @@ -22,17 +21,11 @@ from twine import exceptions from twine import wheel -from . import helpers - -@pytest.fixture( - params=[ - "fixtures/twine-1.5.0-py2.py3-none-any.whl", - "alt-fixtures/twine-1.5.0-py2.py3-none-any.whl", - ] -) +@pytest.fixture() def example_wheel(request): - file_name = os.path.join(helpers.TESTS_DIR, request.param) + parent = pathlib.Path(__file__).parent + file_name = str(parent / "fixtures" / "twine-1.5.0-py2.py3-none-any.whl") return wheel.Wheel(file_name)