File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1539,7 +1539,7 @@ def test_install_pep508_with_url_in_install_requires_url_change_wheel(script):
1539
1539
res = script .pip ('install' , pkga_path )
1540
1540
assert "Successfully installed dep-1.0" in str (res ), str (res )
1541
1541
1542
- pkga_path .rmtree ()
1542
+ pkga_path .unlink ()
1543
1543
1544
1544
# Updating the URL to the dependency installs the updated dependency
1545
1545
pkga_path = create_basic_wheel_for_package (
@@ -1563,8 +1563,8 @@ def test_install_pep508_with_url_in_install_requires_url_change_directory(
1563
1563
1564
1564
# Rename the package directory so it doesn't get overwritten when
1565
1565
# creating the package for dep_v2
1566
- dep_v1_path .move (dep_v1_path .folder / 'dep_v1' )
1567
- dep_v1_path = dep_v1_path .folder / 'dep_v1'
1566
+ dep_v1_path .rename (dep_v1_path .parent / 'dep_v1' )
1567
+ dep_v1_path = dep_v1_path .parent / 'dep_v1'
1568
1568
1569
1569
dep_v2_path = create_test_package_with_setup (
1570
1570
script , name = 'dep' , version = '2.0' ,
@@ -1577,7 +1577,7 @@ def test_install_pep508_with_url_in_install_requires_url_change_directory(
1577
1577
res = script .pip ('install' , pkga_path )
1578
1578
assert "Successfully installed dep-1.0" in str (res ), str (res )
1579
1579
1580
- pkga_path .rmtree ()
1580
+ pkga_path .unlink ()
1581
1581
1582
1582
# Updating the URL to the dependency installs the updated dependency
1583
1583
pkga_path = create_basic_wheel_for_package (
You can’t perform that action at this time.
0 commit comments