summaryrefslogtreecommitdiff
path: root/Lib/posixpath.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2014-10-04 16:09:02 +0300
committerSerhiy Storchaka <storchaka@gmail.com>2014-10-04 16:09:02 +0300
commite4f47088af0040d73449d0cb0fe1e6d863f3ad07 (patch)
tree4aa9b1ffb19294202e1e5f75dcaf88c7bc91045c /Lib/posixpath.py
parentd32abc12e8764f39c562de31dbe6196a94f4c3bd (diff)
downloadcpython-git-e4f47088af0040d73449d0cb0fe1e6d863f3ad07.tar.gz
Fixed tests on Windows for issue #21883.
Diffstat (limited to 'Lib/posixpath.py')
-rw-r--r--Lib/posixpath.py2
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