This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: make test fails Lib/test/ on 3.9.1
Type: behavior Stage:
Components: Tests Versions: Python 3.9
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: ostermana
Priority: normal Keywords:

Created on 2021-02-04 18:02 by ostermana, last changed 2022-04-11 14:59 by admin.

File name Uploaded Description Edit
Python3 Makefile.txt ostermana, 2021-02-04 18:02 The helper/wrapper Makefile I'm using to build Python
Messages (1)
msg386489 - (view) Author: Alex Osterman (ostermana) * Date: 2021-02-04 18:02
While compiling 3.9.1 on CentOS 8, 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')):
Date User Action Args
2022-04-11 14:59:41adminsetgithub: 87294
2021-02-04 18:02:38ostermanacreate