错误信息如下:
test setup failed
file F:py11\py_test2.py, line 11
def test_kwargs(first, *args, **kwargs):
E fixture 'first' not found
> available fixtures: anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, doctest_namespace, monkeypatch, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory
> use 'pytest --fixtures [testpath]' for help on them.
解决方法:
将还有test改名为其他