Message159770
The test for this issue seems to fail about half of the time on Windows.
======================================================================
ERROR: test_race (test.test_logging.HandlerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "c:\python-dev\cpython-main\lib\test\test_logging.py", line 605, in test_race
h = logging.handlers.WatchedFileHandler(fn, delay=delay)
File "c:\python-dev\cpython-main\lib\logging\handlers.py", line 421, in __init__
logging.FileHandler.__init__(self, filename, mode, encoding, delay)
File "c:\python-dev\cpython-main\lib\logging\__init__.py", line 965, in __init__
StreamHandler.__init__(self, self._open())
File "c:\python-dev\cpython-main\lib\logging\__init__.py", line 987, in _open
return open(self.baseFilename, self.mode, encoding=self.encoding)
PermissionError: [Errno 13] Permission denied: 'c:\\users\\brian\\appdata\\local\\temp\\test_logging-3-lxjo5t.log'
I also get this failure when running in the VS2010 branch:
======================================================================
ERROR: test_race (test.test_logging.HandlerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "c:\python-dev\porting\cpython\lib\test\test_logging.py", line 600, in cleanup
os.unlink(fn)
PermissionError: [Error 32] The process cannot access the file because it is being used by
another process: 'c:\\users\\brian\\appdata\\local\\temp\\test_logging3-6ujeil.log' |
|
Date |
User |
Action |
Args |
2012-05-02 01:55:47 | brian.curtin | set | recipients:
+ brian.curtin, vinay.sajip, neologix, python-dev, phlogistonjohn |
2012-05-02 01:55:47 | brian.curtin | set | messageid: <1335923747.34.0.831492226954.issue14632@psf.upfronthosting.co.za> |
2012-05-02 01:55:46 | brian.curtin | link | issue14632 messages |
2012-05-02 01:55:46 | brian.curtin | create | |
|