summaryrefslogtreecommitdiff
path: root/tests/test_files.py
diff options
context:
space:
mode:
authorIonel Cristian Maries <contact@ionelmc.ro>2015-06-07 03:48:27 +0300
committerIonel Cristian Maries <contact@ionelmc.ro>2015-06-07 03:48:27 +0300
commit3d0e12c982ad2a96e99273d515f79db514092c85 (patch)
treeaa11bddc0a5a226fc5f205b17099e746b3b941c9 /tests/test_files.py
parentce0327fd9c8dadd063eb87aaa77d3d74b4bf409f (diff)
downloadpython-coveragepy-git-3d0e12c982ad2a96e99273d515f79db514092c85.tar.gz
Use the run_in_temp_dir flag.
--HG-- branch : ionelmc/correct-path-normalization-on-windows-th-1433618255921
Diffstat (limited to 'tests/test_files.py')
-rw-r--r--tests/test_files.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/test_files.py b/tests/test_files.py
index 41f7b38a..85c7048b 100644
--- a/tests/test_files.py
+++ b/tests/test_files.py
@@ -2,7 +2,6 @@
import os
import os.path
-from unittest import TestCase
from coverage.files import (
FileLocator, TreeMatcher, FnmatchMatcher, ModuleMatcher, PathAliases,
@@ -15,7 +14,9 @@ from tests.coveragetest import CoverageTest
if env.WINDOWS:
- class IncompleteWindowsTest(TestCase):
+ class IncompleteWindowsTest(CoverageTest):
+ run_in_temp_dir = False
+
def test_actual_path(self):
self.assertEquals(actual_path(r'c:\Windows'), actual_path(r'C:\wINDOWS'))