Skip to content

Commit fd0646e

Browse files
authored
Merge pull request #1206 from dnicolodi/rm-binary-blobs-part1
2 parents ab4ec8c + b2832de commit fd0646e

File tree

4 files changed

+3
-11
lines changed

4 files changed

+3
-11
lines changed
Binary file not shown.

tests/fixtures/twine-1.5.0.zip

-34.9 KB
Binary file not shown.

tests/test_sdist.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
params=[
1818
"fixtures/twine-1.5.0.tar.gz",
1919
"fixtures/twine-1.6.5.tar.gz",
20-
"fixtures/twine-1.5.0.zip",
2120
]
2221
)
2322
def example_sdist(request):

tests/test_wheel.py

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
import os
1514
import pathlib
1615
import re
1716
import zipfile
@@ -22,17 +21,11 @@
2221
from twine import exceptions
2322
from twine import wheel
2423

25-
from . import helpers
2624

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-
)
25+
@pytest.fixture()
3426
def example_wheel(request):
35-
file_name = os.path.join(helpers.TESTS_DIR, request.param)
27+
parent = pathlib.Path(__file__).parent
28+
file_name = str(parent / "fixtures" / "twine-1.5.0-py2.py3-none-any.whl")
3629
return wheel.Wheel(file_name)
3730

3831

0 commit comments

Comments
 (0)