We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d37e3c commit 358e690Copy full SHA for 358e690
tests/lib/path.py
@@ -195,12 +195,6 @@ def copytree(self, to):
195
"""
196
return shutil.copytree(self, to, symlinks=True)
197
198
- def move(self, to):
199
- """
200
- Moves a file or directory to another path.
201
202
- return shutil.move(self, to)
203
-
204
def rename(self, to):
205
206
Renames a file or directory. May throw an OSError.
tests/lib/venv.py
@@ -154,7 +154,7 @@ def clear(self):
154
self._create(clear=True)
155
156
def move(self, location):
157
- self.location.move(location)
+ shutil.move(self.location, location)
158
self.location = Path(location)
159
self._update_paths()
160
0 commit comments