[issue45987] os.chdir in unittest's test case causes RecursionError on Windows

Toshihiro Kamiya report at bugs.python.org
Sun Dec 5 18:18:44 EST 2021


Toshihiro Kamiya <kamiya at mbj.nifty.com> added the comment:

Thank you, eryksun, for pointing out the cause of the problem. I have modified the test script and it can now be run on Windows.

The attached file is a revised version of the reproduction script, which reflects the modifications made to the test script to prevent the error.

----------
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed
Added file: https://bugs.python.org/file50478/test_chdir_wo_fail.py

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45987>
_______________________________________


More information about the Python-bugs-list mailing list