diff options
Diffstat (limited to 'coverage/files.py')
-rw-r--r-- | coverage/files.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coverage/files.py b/coverage/files.py index d2742a39..1b6f6281 100644 --- a/coverage/files.py +++ b/coverage/files.py @@ -77,7 +77,7 @@ def flat_rootname(filename): For example, the file a/b/c.py will return 'a_b_c_py' """ - name = os.path.splitdrive(filename)[1] + name = ntpath.splitdrive(filename)[1] return re.sub(r"[\\/.:]", "_", name) |