[issue1706039] Added clearerr() to clear EOF state
report at bugs.python.org
Thu Dec 9 06:45:46 CET 2010
Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:
The tests need to be cleaned up a little. The setup code should go to setUp() method and instead of calling different methods in a loop with a switch over method names, it should just have a separate test_ method for each method tested. A "with" statement can also reduce some boilerplate.
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list