Antoine Pitrou added the comment:
For the record, checks such as:
self.assertEqual(wr() is None, False)
are better written:
self.assertIsNotNone(wr())
No need to upload a new patch, I'm gonna make the change while committing :-)
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue21321>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com