Closed tseaver closed 7 years ago
assertRaises
self.assertTrue(foo in bar)
self.assertIn(foo, bar)
self.assertTrue(isinstance(foo, Bar))
self.assertIsInstance(foo, Bar)
@jamadden I plan to merge when Travis goes green.
assertRaises
as context manager everywhere.self.assertTrue(foo in bar)
->self.assertIn(foo, bar)
.self.assertTrue(isinstance(foo, Bar))
->self.assertIsInstance(foo, Bar)
.