New submission from Alex Osterman <[email protected]>:
While compiling 3.9.1 on CentOS 8, test_httpservers.py throws multiple errors
in the vein of "OSError: [Errno 39] Directory not empty: '/tmp/tmp70ip355o'"
from line 707, in teardown. Examining the directories I see that they all
contain only a gmon.out. Adding this code to teardown() before
"os.rmdir(self.parent_dir)" seems to resolve the issue and should not introduce
any issues on other platforms:
if os.path.isfile(pathlib.Path(self.parent_dir).joinpath('gmon.out')):
os.remove(pathlib.Path(self.parent_dir).joinpath('gmon.out'))
----------
components: Tests
files: Python3 Makefile.txt
messages: 386489
nosy: ostermana
priority: normal
severity: normal
status: open
title: make test fails Lib/test/test_httpservers.py on 3.9.1
type: behavior
versions: Python 3.9
Added file: https://bugs.python.org/file49790/Python3 Makefile.txt
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue43128>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com