[issue13500] Hitting EOF gets cmd.py into a infinite EOF on return loop

Garrett Cooper report at bugs.python.org
Tue Jan 17 09:07:04 CET 2012


Garrett Cooper <yanegomi at gmail.com> added the comment:

Here's a unittest patch for the py3k branch.

{{{
1 items passed all tests:
  32 tests in test.test_cmd.samplecmdclass
32 tests in 19 items.
32 passed and 0 failed.
Test passed.
doctest (test.test_cmd) ... 32 tests with zero failures
test_file_with_missing_final_nl (__main__.TestAlternateInput) ... ok
test_input_reset_at_EOF (__main__.TestAlternateInput) ... ok

----------------------------------------------------------------------
Ran 2 tests in 0.000s

OK
}}}

----------
Added file: http://bugs.python.org/file24257/python-issue13500-test.patch

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


More information about the Python-bugs-list mailing list