Closed SebiSebi closed 4 years ago
The error is deterministic, it happends 100% of time on Python 2.7.
It never happened on Python 3+.
Can do. Since the crash was happening in a Python 2-specific block during a tempfile cleanup, I went ahead and added a try
block to just catch and ignore the error. Version 3.1.2 has the fix -- give it a try.
Awesome! It looks fixed. Thanks!
I am using
green
as a test runner on Travis CI. I have noticed a problem when testing on a mock file-system (usingpyfakefs
). Code to reproduce the issue:Running
python test_example.py
works fine. However, runninggreen
fails with this trace:This only happens on Python 2.7.
I know that Python 2.7 reached the end of its life on January 1st, 2020 but it would be nice to fix this issue if not a lot of work is involved.