You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whether the name can be used to open the file a second time, while the named temporary file is still open, varies across platforms (it can be so used on Unix; it cannot on Windows NT or later).
This lead to the following test-code failing with a permission error, as the try to open the file multiple times.
Its a known limitation of the
tempfile
module that on windows-systems the same file can not be opend multiple times.See docs: https://docs.python.org/3.9/library/tempfile.html#tempfile.NamedTemporaryFile
This lead to the following test-code failing with a permission error, as the try to open the file multiple times.
junitparser/tests/test_write.py
Lines 74 to 102 in 16c54d7
The text was updated successfully, but these errors were encountered: