Skip to content

Commit 0efe364

Browse files
committed
Remove test_wheel_install_pep_503.
Closes #5005
1 parent 0cb446c commit 0efe364

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

setuptools/tests/test_wheel.py

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
import inspect
88
import os
99
import pathlib
10-
import shutil
1110
import stat
1211
import subprocess
1312
import sys
@@ -18,7 +17,6 @@
1817
import pytest
1918
from jaraco import path
2019
from packaging.tags import parse_tag
21-
from packaging.utils import canonicalize_name
2220

2321
from pkg_resources import Distribution, PathMetadata
2422
from setuptools.wheel import Wheel
@@ -579,28 +577,6 @@ def test_wheel_install(params):
579577
)
580578

581579

582-
def test_wheel_install_pep_503():
583-
project_name = 'Foo_Bar' # PEP 503 canonicalized name is "foo-bar"
584-
version = '1.0'
585-
with (
586-
build_wheel(
587-
name=project_name,
588-
version=version,
589-
) as filename,
590-
tempdir() as install_dir,
591-
):
592-
new_filename = filename.replace(project_name, canonicalize_name(project_name))
593-
shutil.move(filename, new_filename)
594-
_check_wheel_install(
595-
new_filename,
596-
install_dir,
597-
None,
598-
canonicalize_name(project_name),
599-
version,
600-
None,
601-
)
602-
603-
604580
def test_wheel_no_dist_dir():
605581
project_name = 'nodistinfo'
606582
version = '1.0'

0 commit comments

Comments
 (0)