Skip to content

Commit

Permalink
Correct checks for pypy
Browse files Browse the repository at this point in the history
  • Loading branch information
Erotemic committed May 17, 2024
1 parent ba6ee13 commit a0014d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ubelt/util_path.py
Original file line number Diff line number Diff line change
Expand Up @@ -1514,7 +1514,7 @@ def copy(self, dst, follow_file_symlinks=False, follow_dir_symlinks=False,
copy_function = self._request_copy_function(
follow_file_symlinks=follow_file_symlinks,
follow_dir_symlinks=follow_dir_symlinks, meta=meta)
if WIN32 and platform.python_implementation == 'PyPy':
if WIN32 and platform.python_implementation() == 'PyPy':
_patch_win32_stats_on_pypy()
if self.is_dir():
if sys.version_info[0:2] < (3, 8): # nocover
Expand Down

0 comments on commit a0014d7

Please sign in to comment.