Skip to content

Commit

Permalink
Another pypy patch
Browse files Browse the repository at this point in the history
  • Loading branch information
Erotemic committed Jun 8, 2024
1 parent c27c082 commit 5d4e9d2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ubelt/util_path.py
Original file line number Diff line number Diff line change
Expand Up @@ -1605,6 +1605,10 @@ def move(self, dst, follow_file_symlinks=False, follow_dir_symlinks=False,
raise FileExistsError(
'Moves are only allowed to locations that dont exist')
import shutil

if WIN32 and platform.python_implementation() == 'PyPy':
_patch_win32_stats_on_pypy()

copy_function = self._request_copy_function(
follow_file_symlinks=follow_file_symlinks,
follow_dir_symlinks=follow_dir_symlinks, meta=meta)
Expand Down

0 comments on commit 5d4e9d2

Please sign in to comment.