Issue #3485: merge from 3.4

This commit is contained in:
Ned Deily 2014-06-18 13:10:44 -07:00
commit 205a55f5c6

View file

@ -48,7 +48,6 @@ def _get_sep(path):
def normcase(s):
"""Normalize case of pathname. Has no effect under Posix"""
# TODO: on Mac OS X, this should really return s.lower().
if not isinstance(s, (bytes, str)):
raise TypeError("normcase() argument must be str or bytes, "
"not '{}'".format(s.__class__.__name__))