diff options
Diffstat (limited to 'test/test_oddball.py')
-rw-r--r-- | test/test_oddball.py | 2 |
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): |