Open jrbourbeau opened 2 years ago
Looks like adding the cleanup
fixture to the loop
fixture
is what triggered this. Though not immediately sure why that's a problem
Looks like adding the
cleanup
fixture to theloop
fixtureis what triggered this. Though not immediately sure why that's a problem
Fixtures are discovered by pytest by looking at specially marked objects returned by the fixture decorator in the modules, running the fixture decorator itself doesn't register fixtures.
If you get pytest to discover a fixture by importing it, you also need to import all its dependencies so pytest can discover them too
We started seeing
on
main
in all ourdistributed
-related tests. Probably related to https://github.com/dask/distributed/pull/6231 cc @graingert