From 3d0e12c982ad2a96e99273d515f79db514092c85 Mon Sep 17 00:00:00 2001 From: Ionel Cristian Maries Date: Sun, 7 Jun 2015 03:48:27 +0300 Subject: Use the run_in_temp_dir flag. --HG-- branch : ionelmc/correct-path-normalization-on-windows-th-1433618255921 --- tests/test_files.py | 5 +++-- 1 file 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')) -- cgit v1.2.1