diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2014-10-04 16:09:02 +0300 |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2014-10-04 16:09:02 +0300 |
commit | e4f47088af0040d73449d0cb0fe1e6d863f3ad07 (patch) | |
tree | 4aa9b1ffb19294202e1e5f75dcaf88c7bc91045c /Lib/posixpath.py | |
parent | d32abc12e8764f39c562de31dbe6196a94f4c3bd (diff) | |
download | cpython-git-e4f47088af0040d73449d0cb0fe1e6d863f3ad07.tar.gz |
Fixed tests on Windows for issue #21883.
Diffstat (limited to 'Lib/posixpath.py')
-rw-r--r-- | Lib/posixpath.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/posixpath.py b/Lib/posixpath.py index ce5f7928cc..44ed8383f2 100644 --- a/Lib/posixpath.py +++ b/Lib/posixpath.py @@ -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 |