diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2017-01-15 15:08:27 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2017-01-15 15:08:27 -0500 |
commit | 797e735c3c55e400e7f5d222c07e092789012c9b (patch) | |
tree | ca40f798a3978036fbcce10bad8202dfabfe9cb0 /tests/test_process.py | |
parent | a5f5e51f31860c3673a45d74f011fadfeeab1dc4 (diff) | |
download | python-coveragepy-797e735c3c55e400e7f5d222c07e092789012c9b.tar.gz |
Fix two warnings
Diffstat (limited to 'tests/test_process.py')
-rw-r--r-- | tests/test_process.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_process.py b/tests/test_process.py index 4d67897..d77dfda 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: |