Fixed tests on Windows for issue #21883.

This commit is contained in:
Serhiy Storchaka 2014-10-04 16:09:02 +03:00
parent d32abc12e8
commit e4f47088af
3 changed files with 4 additions and 3 deletions

View file

@ -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