[issue18731] Increased test coverage for uu and telnet
Alex Volkov
report at bugs.python.org
Wed Aug 28 00:44:21 CEST 2013
New submission from Alex Volkov:
Okay,
I'm submitting the patch just for uu / test_uu.
I replaced all try/finally statemets with 'with' context, added try..finally statement for both test cases.
uu.py, line 61 is exposed by test_encode_osstat_assert -- os.stat is duckpunched out of the system, then test case verifies that default permissions(666) is written into a file.
I didn't have try...finally statement because I wasn't sure how the test case will behave when inner try..finally is triggered, so far the tests seem to pass..
----------
Added file: http://bugs.python.org/file31489/uu_test_v2.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18731>
_______________________________________
More information about the Python-bugs-list
mailing list