Use tempfile
for temporary JSON files.
#4206
Labels
difficulty: easy
A good issue for someone new. Can be done in a few hours
priority: low
No existing plans to resolve
After merging #4125 , we generate a lot of temporary JSON files while running tests. These files are short-lived and are created and deleted with every test passing, although if the tests fail these files have to be deleted manually.
You can see the number of json files being generated when test suit fails many times :
We can use
tempfile
to generate temporary files to fix this. See : https://docs.python.org/3/library/tempfile.htmlThe text was updated successfully, but these errors were encountered: