summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_parser.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_parser.py')
-rw-r--r--Lib/test/test_parser.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/Lib/test/test_parser.py b/Lib/test/test_parser.py
index 65d1d35..c7cc13f 100644
--- a/Lib/test/test_parser.py
+++ b/Lib/test/test_parser.py
@@ -545,15 +545,15 @@ class STObjectTestCase(unittest.TestCase):
bottom = min(st1, st2, st3)
top = max(st1, st2, st3)
mid = sorted([st1, st2, st3])[1]
- self.assert_(bottom < mid)
- self.assert_(bottom < top)
- self.assert_(mid < top)
- self.assert_(bottom <= mid)
- self.assert_(bottom <= top)
- self.assert_(mid <= top)
- self.assert_(bottom <= bottom)
- self.assert_(mid <= mid)
- self.assert_(top <= top)
+ self.assertTrue(bottom < mid)
+ self.assertTrue(bottom < top)
+ self.assertTrue(mid < top)
+ self.assertTrue(bottom <= mid)
+ self.assertTrue(bottom <= top)
+ self.assertTrue(mid <= top)
+ self.assertTrue(bottom <= bottom)
+ self.assertTrue(mid <= mid)
+ self.assertTrue(top <= top)
# interaction with other types
self.assertEquals(st1 == 1588.602459, False)
self.assertEquals('spanish armada' != st2, True)