File tree Expand file tree Collapse file tree 1 file changed +0
-24
lines changed Expand file tree Collapse file tree 1 file changed +0
-24
lines changed Original file line number Diff line number Diff line change 7
7
import inspect
8
8
import os
9
9
import pathlib
10
- import shutil
11
10
import stat
12
11
import subprocess
13
12
import sys
18
17
import pytest
19
18
from jaraco import path
20
19
from packaging .tags import parse_tag
21
- from packaging .utils import canonicalize_name
22
20
23
21
from pkg_resources import Distribution , PathMetadata
24
22
from setuptools .wheel import Wheel
@@ -579,28 +577,6 @@ def test_wheel_install(params):
579
577
)
580
578
581
579
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
-
604
580
def test_wheel_no_dist_dir ():
605
581
project_name = 'nodistinfo'
606
582
version = '1.0'
You can’t perform that action at this time.
0 commit comments