diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_files.py | 2 | ||||
-rw-r--r-- | tests/test_process.py | 8 |
2 files changed, 3 insertions, 7 deletions
diff --git a/tests/test_files.py b/tests/test_files.py index 813f8612..e3d33285 100644 --- a/tests/test_files.py +++ b/tests/test_files.py @@ -56,7 +56,7 @@ class FilesTest(CoverageTest): def test_flat_rootname(self): self.assertEqual(flat_rootname("a/b/c.py"), "a_b_c_py") - self.assertEqual(flat_rootname(r"c:\foo\bar.html"), "c__foo_bar_html") + self.assertEqual(flat_rootname(r"c:\foo\bar.html"), "_foo_bar_html") class MatcherTest(CoverageTest): diff --git a/tests/test_process.py b/tests/test_process.py index 9bd72119..3023a18c 100644 --- a/tests/test_process.py +++ b/tests/test_process.py @@ -890,9 +890,7 @@ class ProcessStartupTest(ProcessCoverageMixin, CoverageTest): def test_subprocess_with_pth_files(self): # pragma: not covered if env.METACOV: - self.skip( - "Can't test sub-process pth file suppport during metacoverage" - ) + self.skip("Can't test sub-process pth file suppport during metacoverage") # Main will run sub.py self.make_file("main.py", """\ @@ -954,9 +952,7 @@ class ProcessStartupWithSourceTest(ProcessCoverageMixin, CoverageTest): """ if env.METACOV: - self.skip( - "Can't test sub-process pth file suppport during metacoverage" - ) + self.skip("Can't test sub-process pth file suppport during metacoverage") def fullname(modname): """What is the full module name for `modname` for this test?""" |