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
commitf35fd9cbfc82488a5f421622eac081c270bfcf12 (patch)
tree4e6f3542e0e2103d3cb19f02eb12602082b52da9 /test/test_oddball.py
parentdad2e11e30da32a7c6014fe0d5c6fb398e1830f4 (diff)
downloadpython-coveragepy-f35fd9cbfc82488a5f421622eac081c270bfcf12.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 05252ef..b102019 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):