TST: yt/tests/test_load_archive.py::test_load_archive
is failing
#4799
Labels
yt/tests/test_load_archive.py::test_load_archive
is failing
#4799
For instance, see https://github.com/yt-project/yt/actions/runs/7733683213/job/21093334760?pr=4797
The failure is due to a combination of a couple factors:
DeprecationWarning
about use ofos.fork()
in multi-threaded processes (this is gh-100228: Warn from os.fork() if other threads exist. python/cpython#100229)pytest.warns
context would be swallowed silently, which is why we haven't caught this before. (see Document thatwith pytest.warns()
captures all warnings, not just those it tests were emitted pytest-dev/pytest#9288)Note that the failing test requires ratarmount (Linux only) and Python 3.12, so it's still pretty mild, as far as failures go. I suppose it should be escalated upstream to ratarmount, and the warning should be ignored on our side, as it seems out of our control.
What do you think @cphyc ?
The text was updated successfully, but these errors were encountered: