summaryrefslogtreecommitdiffstats
path: root/Lib/ntpath.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2014-10-04 13:09:02 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2014-10-04 13:09:02 (GMT)
commite4f47088af0040d73449d0cb0fe1e6d863f3ad07 (patch)
tree4aa9b1ffb19294202e1e5f75dcaf88c7bc91045c /Lib/ntpath.py
parentd32abc12e8764f39c562de31dbe6196a94f4c3bd (diff)
downloadcpython-e4f47088af0040d73449d0cb0fe1e6d863f3ad07.zip
cpython-e4f47088af0040d73449d0cb0fe1e6d863f3ad07.tar.gz
cpython-e4f47088af0040d73449d0cb0fe1e6d863f3ad07.tar.bz2
Fixed tests on Windows for issue #21883.
Diffstat (limited to 'Lib/ntpath.py')
-rw-r--r--Lib/ntpath.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/ntpath.py b/Lib/ntpath.py
index 8f5dc55..ee1a215 100644
--- a/Lib/ntpath.py
+++ b/Lib/ntpath.py
@@ -584,7 +584,7 @@ def relpath(path, start=None):
if not rel_list:
return curdir
return join(*rel_list)
- except (TypeError, ValueError, AttributeError, BytesWarning):
+ except (TypeError, ValueError, AttributeError, BytesWarning, DeprecationWarning):
genericpath._check_arg_types('relpath', path, start)
raise