____________________________________________________________________________________________________________ ERROR at setup of test_foo _____________________________________________________________________________________________________________
file /projects/251117_pytest_dev/foo/test_foo.py, line 10
def test_foo(foo_fixture):
E fixture 'foo_fixture' not found
> available fixtures: _syrupy_apply_ide_patches, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, capteesys, doctest_namespace, monkeypatch, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, snapshot, subtests, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory
> use 'pytest --fixtures [testpath]' for help on them.
/projects/251117_pytest_dev/foo/test_foo.py:10
Tested with pytest dev (commits above) mac os.
With pytest dev (starting at: 46478fa) the following example passes with a default pytest run but errors if
--doctest-modulesis enabled.The error is:
The prior commit (543b11f) passes in with
--doctest-modules.pip list
Tested with pytest dev (commits above) mac os.
pip listfrom the virtual environment you are using