mirror of
https://github.com/python/cpython.git
synced 2025-10-09 08:31:26 +00:00
Fixed tests on Windows for issue #21883.
This commit is contained in:
parent
d32abc12e8
commit
e4f47088af
3 changed files with 4 additions and 3 deletions
|
@ -452,6 +452,6 @@ def relpath(path, start=None):
|
|||
if not rel_list:
|
||||
return curdir
|
||||
return join(*rel_list)
|
||||
except (TypeError, AttributeError, BytesWarning):
|
||||
except (TypeError, AttributeError, BytesWarning, DeprecationWarning):
|
||||
genericpath._check_arg_types('relpath', path, start)
|
||||
raise
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue