diff options
-rw-r--r-- | tests/test_process.py | 2 | ||||
-rw-r--r-- | tests/test_testing.py | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/tests/test_process.py b/tests/test_process.py index 4d67897d..d77dfda6 100644 --- a/tests/test_process.py +++ b/tests/test_process.py @@ -1213,7 +1213,7 @@ class ProcessCoverageMixin(object): super(ProcessCoverageMixin, self).setUp() # Create the .pth file. - self.assert_(PTH_DIR) + self.assertTrue(PTH_DIR) pth_contents = "import coverage; coverage.process_startup()\n" pth_path = os.path.join(PTH_DIR, "subcover_{0}.pth".format(WORKER)) with open(pth_path, "w") as pth: diff --git a/tests/test_testing.py b/tests/test_testing.py index d0e75797..b74d08fb 100644 --- a/tests/test_testing.py +++ b/tests/test_testing.py @@ -144,6 +144,8 @@ class CoverageTestTest(CoverageTest): class CheckUniqueFilenamesTest(CoverageTest): """Tests of CheckUniqueFilenames.""" + run_in_temp_dir = False + class Stub(object): """A stand-in for the class we're checking.""" def __init__(self, x): |