Antoine Pitrou <pit...@free.fr> added the comment:

In the test, assertNone is superfluous. Just call os.close().
However, you should probably use assertRaises to check that MyException is 
raised.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue10053>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to