[issue1706039] Added clearerr() to clear EOF state

Alexander Belopolsky 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.

----------
nosy:  -BreamoreBoy

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1706039>
_______________________________________


More information about the Python-bugs-list mailing list