diff options
Diffstat (limited to 'coverage/files.py')
-rw-r--r-- | coverage/files.py | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/coverage/files.py b/coverage/files.py index f1832207..8de2ec67 100644 --- a/coverage/files.py +++ b/coverage/files.py @@ -48,7 +48,7 @@ def relative_filename(filename): fnorm = os.path.normcase(filename) if fnorm.startswith(RELATIVE_DIR): filename = filename[len(RELATIVE_DIR):] - return unicode_filename(filename) + return filename @contract(returns='unicode') @@ -141,12 +141,6 @@ else: return filename -@contract(filename='unicode', returns='unicode') -def unicode_filename(filename): - """Return a Unicode version of `filename`.""" - return filename - - @contract(returns='unicode') def abs_file(path): """Return the absolute normalized form of `path`.""" @@ -156,7 +150,6 @@ def abs_file(path): pass path = os.path.abspath(path) path = actual_path(path) - path = unicode_filename(path) return path |