Changes by Berker Peksag berker.pek...@gmail.com:
--
stage: - resolved
status: open - closed
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22315
___
New submission from Jason R. Coombs:
This morning, I was running an install of a package on Python 3.4.1 when I
encountered this error:
C:\Users\jaraco\projects\jaraco.financial [default tip] ./setup install
running install
running bdist_egg
running egg_info
writing namespace_packages to
Jason R. Coombs added the comment:
On a second attempt, the operation completed successfully, so a transient
network error was necessary to elicit the bug.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22315
Changes by Jason R. Coombs jar...@jaraco.com:
--
hgrepos: +272
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22315
___
___
Python-bugs-list
Changes by Jason R. Coombs jar...@jaraco.com:
--
keywords: +patch
Added file: http://bugs.python.org/file36514/7304b9b95438.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22315
___
Jason R. Coombs added the comment:
I've started work on a test to capture the failure. Patch 7304b9 is attached.
Any comments on the test before I proceed with the fix? I haven't been able to
run the test, so if someone could do that, it would be most appreciated.
--
Claudiu Popa added the comment:
A similar issue was fixed a couple of days ago in file_util.py, with
f01413758114. It would be nice to have similar tests.
--
nosy: +Claudiu.Popa
___
Python tracker rep...@bugs.python.org
Claudiu Popa added the comment:
I'm referring to the TypeError: 'OSError' object is not iterable failure.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22315
___
Roundup Robot added the comment:
New changeset 7304b9b95438 by Jason R. Coombs in branch '3.4':
#22315: Add test to capture the failure.
http://hg.python.org/cpython/rev/7304b9b95438
New changeset 300cd36eb25c by Jason R. Coombs in branch '3.4':
#22315: Use technique outlined in test_file_util
Jason R. Coombs added the comment:
Claudiu, thanks for the tip. That was quite helpful. I did not realize that
unittest included a mock implementation. I've updated the test to use the same
technique. I've furthermore verified that the test captures the failure and
adjusted the implementation
Changes by Jason R. Coombs jar...@jaraco.com:
--
stage: resolved -
status: closed - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22315
___
11 matches
Mail list logo