File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -664,7 +664,7 @@ def test_wheel_install_fails_with_unrelated_dist_info(
664
664
package = create_basic_wheel_for_package (script , "simple" , "0.1.0" )
665
665
new_name = "unrelated-2.0.0-py2.py3-none-any.whl"
666
666
new_package = os .path .join (os .path .dirname (package ), new_name )
667
- shutil .move (package , new_package )
667
+ shutil .move (os . fspath ( package ) , new_package )
668
668
669
669
result = script .pip (
670
670
"install" ,
Original file line number Diff line number Diff line change 1
1
import compileall
2
+ import os
2
3
import shutil
3
4
import subprocess
4
5
import sys
@@ -171,7 +172,7 @@ def clear(self) -> None:
171
172
self ._create (clear = True )
172
173
173
174
def move (self , location : Union [Path , str ]) -> None :
174
- shutil .move (self .location , location )
175
+ shutil .move (os . fspath ( self .location ) , location )
175
176
self .location = Path (location )
176
177
self ._update_paths ()
177
178
You can’t perform that action at this time.
0 commit comments