Changes between Version 4 and Version 5 of Ticket #24714
- Timestamp:
- Apr 27, 2015, 10:14:46 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #24714 – Description
v4 v5 7 7 8 8 self.assertEqual(True, x) # self.assertTrue(x) may be appropriate, but care is needed because it will pass for truthy values 9 self.assertEqual(False, x) # preferself.assertFalse(x) may be appropriate, but care is needed because it will pass for falsey values9 self.assertEqual(False, x) # self.assertFalse(x) may be appropriate, but care is needed because it will pass for falsey values 10 10 self.assertEqual(True, x == y) # prefer self.assertEqual(x, y) 11 11 }}}