summaryrefslogtreecommitdiff
path: root/tests/test_process.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2017-01-15 15:08:27 -0500
committerNed Batchelder <ned@nedbatchelder.com>2017-01-15 15:08:27 -0500
commit50b37557df12f0ceb117860ce80a46e13b9d2beb (patch)
tree4d54327e967114943e01555414b83875108b62e3 /tests/test_process.py
parent92de04ca5e44532f3fa78dece8df822557805373 (diff)
downloadpython-coveragepy-git-50b37557df12f0ceb117860ce80a46e13b9d2beb.tar.gz
Fix two warnings
Diffstat (limited to 'tests/test_process.py')
-rw-r--r--tests/test_process.py2
1 files changed, 1 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: