Skip to content

Commit

Permalink
Merge pull request #1206 from dnicolodi/rm-binary-blobs-part1
Browse files Browse the repository at this point in the history
  • Loading branch information
woodruffw authored Jan 9, 2025
2 parents ab4ec8c + b2832de commit fd0646e
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 11 deletions.
Binary file removed tests/alt-fixtures/twine-1.5.0-py2.py3-none-any.whl
Binary file not shown.
Binary file removed tests/fixtures/twine-1.5.0.zip
Binary file not shown.
1 change: 0 additions & 1 deletion tests/test_sdist.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
13 changes: 3 additions & 10 deletions tests/test_wheel.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)


Expand Down

0 comments on commit fd0646e

Please sign in to comment.