STINNER Victor <victor.stin...@haypocalc.com> added the comment:

Ah ah, this bug is funny :-) test_regexp doesn't fail because of a race 
condition or a file system issue, but because of the regex!

The regex "ba.*" is applied on the fullname, not only on the basename. If the 
temporary contains "ba", the test fails :-) Replace tempfile.mkdtemp() by 
tempfile.mkdtemp(prefix='bar') in CommandLineTests.setUp() to always reproduce 
this bug.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue11873>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to