summaryrefslogtreecommitdiff
path: root/test/test_oddball.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2009-12-13 13:25:09 -0500
committerNed Batchelder <ned@nedbatchelder.com>2009-12-13 13:25:09 -0500
commitdfddc64a9d695b5df019eadfb7ffc160abc38327 (patch)
treee05eae9c5e5a47bab9c534e92edd9388b33c6746 /test/test_oddball.py
parent14341484c91c5241ec9b992bea22d285bbf78b40 (diff)
downloadpython-coveragepy-git-dfddc64a9d695b5df019eadfb7ffc160abc38327.tar.gz
I never liked the assert_ method anyway. Use assertTrue and assertFalse instead.
Diffstat (limited to 'test/test_oddball.py')
-rw-r--r--test/test_oddball.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_oddball.py b/test/test_oddball.py
index 05252ef8..b102019b 100644
--- a/test/test_oddball.py
+++ b/test/test_oddball.py
@@ -92,7 +92,7 @@ class MemoryLeakTest(CoverageTest):
self.check_coverage(code.replace("ITERS", "10000"), lines, "")
ram_2 = osinfo.process_ram()
ram_growth = (ram_2 - ram_1) - (ram_1 - ram_0)
- self.assert_(ram_growth < 100000, "RAM grew by %d" % (ram_growth))
+ self.assertTrue(ram_growth < 100000, "RAM grew by %d" % (ram_growth))
class PyexpatTest(CoverageTest):