On 6/27/2012 3:26 PM, eric.smith wrote:
http://hg.python.org/cpython/rev/9623c83ba489 changeset: 77825:9623c83ba489 user: Eric V. Smith <e...@trueblade.com> date: Wed Jun 27 15:26:26 2012 -0400 summary: Changed importlib tests to use assertIs, assertIsInstance, etc., instead of just assertTrue.
You forgot assertIsNone ;-) or was that intentional?
- self.assertTrue(loader is None) + self.assertIs(loader, None)
self.assertIsNone(loader) tjr _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com