pytest-dev / pytest-twisted

test twisted code with pytest
BSD 3-Clause "New" or "Revised" License
46 stars 24 forks source link

1.13.4: pytest is failing because missing `testdir` fixture #151

Closed kloczek closed 1 year ago

kloczek commented 2 years ago

I'm trying to package your module as an rpm package. So I'm using the typical PEP517 based build, install and test cycle used on building packages from non-root account.

I cannot find which one pytest extension provides missing testdir fixture.

kloczek commented 2 years ago

Here is pytest output:

```console + PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-pytest-twisted-1.13.4-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-pytest-twisted-1.13.4-2.fc35.x86_64/usr/lib/python3.8/site-packages + /usr/bin/pytest -ra -q =========================================================================== test session starts ============================================================================ platform linux -- Python 3.8.13, pytest-7.1.2, pluggy-1.0.0 rootdir: /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4, configfile: pytest.ini plugins: twisted-1.13.4 collected 56 items testing/test_basic.py EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE [100%] ================================================================================== ERRORS ================================================================================== ____________________________________________________________ ERROR at setup of test_inline_callbacks_in_pytest _____________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 108 def test_inline_callbacks_in_pytest(): file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 61 @pytest.fixture(name="default_conftest", autouse=True) def _default_conftest(testdir): E fixture 'testdir' not found > available fixtures: LineMatcher, _config_for_test, _pytest, _sys_snapshot, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cmd_opts, default_conftest, doctest_namespace, empty_optional_call, linecomp, monkeypatch, pytestconfig, pytester, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, twisted_greenlet > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py:61 ________________________________________ ERROR at setup of test_inline_callbacks_in_pytest_deprecation[pytest.inlineCallbacks-True] ________________________________________ file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 112 @pytest.mark.parametrize( 'decorator, should_warn', ( ('pytest.inlineCallbacks', True), ('pytest_twisted.inlineCallbacks', False), ), ) def test_inline_callbacks_in_pytest_deprecation( file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 61 @pytest.fixture(name="default_conftest", autouse=True) def _default_conftest(testdir): E fixture 'testdir' not found > available fixtures: LineMatcher, _config_for_test, _pytest, _sys_snapshot, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cmd_opts, default_conftest, doctest_namespace, empty_optional_call, linecomp, monkeypatch, pytestconfig, pytester, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, twisted_greenlet > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py:61 ___________________________________ ERROR at setup of test_inline_callbacks_in_pytest_deprecation[pytest_twisted.inlineCallbacks-False] ____________________________________ file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 112 @pytest.mark.parametrize( 'decorator, should_warn', ( ('pytest.inlineCallbacks', True), ('pytest_twisted.inlineCallbacks', False), ), ) def test_inline_callbacks_in_pytest_deprecation( file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 61 @pytest.fixture(name="default_conftest", autouse=True) def _default_conftest(testdir): E fixture 'testdir' not found > available fixtures: LineMatcher, _config_for_test, _pytest, _sys_snapshot, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cmd_opts, default_conftest, doctest_namespace, empty_optional_call, linecomp, monkeypatch, pytestconfig, pytester, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, twisted_greenlet > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py:61 _________________________________________________________________ ERROR at setup of test_blockon_in_pytest _________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 144 def test_blockon_in_pytest(): file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 61 @pytest.fixture(name="default_conftest", autouse=True) def _default_conftest(testdir): E fixture 'testdir' not found > available fixtures: LineMatcher, _config_for_test, _pytest, _sys_snapshot, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cmd_opts, default_conftest, doctest_namespace, empty_optional_call, linecomp, monkeypatch, pytestconfig, pytester, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, twisted_greenlet > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py:61 ________________________________________________ ERROR at setup of test_blockon_in_pytest_deprecation[pytest.blockon-True] _________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 148 @pytest.mark.parametrize( 'function, should_warn', ( ('pytest.blockon', True), ('pytest_twisted.blockon', False), ), ) def test_blockon_in_pytest_deprecation( file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 61 @pytest.fixture(name="default_conftest", autouse=True) def _default_conftest(testdir): E fixture 'testdir' not found > available fixtures: LineMatcher, _config_for_test, _pytest, _sys_snapshot, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cmd_opts, default_conftest, doctest_namespace, empty_optional_call, linecomp, monkeypatch, pytestconfig, pytester, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, twisted_greenlet > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py:61 ____________________________________________ ERROR at setup of test_blockon_in_pytest_deprecation[pytest_twisted.blockon-False] ____________________________________________ file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 148 @pytest.mark.parametrize( 'function, should_warn', ( ('pytest.blockon', True), ('pytest_twisted.blockon', False), ), ) def test_blockon_in_pytest_deprecation( file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 61 @pytest.fixture(name="default_conftest", autouse=True) def _default_conftest(testdir): E fixture 'testdir' not found > available fixtures: LineMatcher, _config_for_test, _pytest, _sys_snapshot, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cmd_opts, default_conftest, doctest_namespace, empty_optional_call, linecomp, monkeypatch, pytestconfig, pytester, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, twisted_greenlet > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py:61 ____________________________________________________________________ ERROR at setup of test_fail_later _____________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 188 def test_fail_later(testdir, cmd_opts): file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 61 @pytest.fixture(name="default_conftest", autouse=True) def _default_conftest(testdir): E fixture 'testdir' not found > available fixtures: LineMatcher, _config_for_test, _pytest, _sys_snapshot, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cmd_opts, default_conftest, doctest_namespace, empty_optional_call, linecomp, monkeypatch, pytestconfig, pytester, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, twisted_greenlet > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py:61 ___________________________________________________________________ ERROR at setup of test_succeed_later ___________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 208 def test_succeed_later(testdir, cmd_opts): file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 61 @pytest.fixture(name="default_conftest", autouse=True) def _default_conftest(testdir): E fixture 'testdir' not found > available fixtures: LineMatcher, _config_for_test, _pytest, _sys_snapshot, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cmd_opts, default_conftest, doctest_namespace, empty_optional_call, linecomp, monkeypatch, pytestconfig, pytester, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, twisted_greenlet > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py:61 ___________________________________________________________________ ERROR at setup of test_non_deferred ____________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 222 def test_non_deferred(testdir, cmd_opts): file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 61 @pytest.fixture(name="default_conftest", autouse=True) def _default_conftest(testdir): E fixture 'testdir' not found > available fixtures: LineMatcher, _config_for_test, _pytest, _sys_snapshot, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cmd_opts, default_conftest, doctest_namespace, empty_optional_call, linecomp, monkeypatch, pytestconfig, pytester, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, twisted_greenlet > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py:61 _____________________________________________________________________ ERROR at setup of test_exception _____________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 234 def test_exception(testdir, cmd_opts): file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 61 @pytest.fixture(name="default_conftest", autouse=True) def _default_conftest(testdir): E fixture 'testdir' not found > available fixtures: LineMatcher, _config_for_test, _pytest, _sys_snapshot, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cmd_opts, default_conftest, doctest_namespace, empty_optional_call, linecomp, monkeypatch, pytestconfig, pytester, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, twisted_greenlet > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py:61 _____________________________________________________________ ERROR at setup of test_inlineCallbacks[no call] ______________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 253 def test_inlineCallbacks(testdir, cmd_opts, empty_optional_call): file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 61 @pytest.fixture(name="default_conftest", autouse=True) def _default_conftest(testdir): E fixture 'testdir' not found > available fixtures: LineMatcher, _config_for_test, _pytest, _sys_snapshot, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cmd_opts, default_conftest, doctest_namespace, empty_optional_call, linecomp, monkeypatch, pytestconfig, pytester, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, twisted_greenlet > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py:61 ____________________________________________________________ ERROR at setup of test_inlineCallbacks[empty call] ____________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 253 def test_inlineCallbacks(testdir, cmd_opts, empty_optional_call): file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 61 @pytest.fixture(name="default_conftest", autouse=True) def _default_conftest(testdir): E fixture 'testdir' not found > available fixtures: LineMatcher, _config_for_test, _pytest, _sys_snapshot, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cmd_opts, default_conftest, doctest_namespace, empty_optional_call, linecomp, monkeypatch, pytestconfig, pytester, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, twisted_greenlet > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py:61 _______________________________________________________________ ERROR at setup of test_async_await[no call] ________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 274 @skip_if_no_async_await() def test_async_await(testdir, cmd_opts, empty_optional_call): file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 61 @pytest.fixture(name="default_conftest", autouse=True) def _default_conftest(testdir): E fixture 'testdir' not found > available fixtures: LineMatcher, _config_for_test, _pytest, _sys_snapshot, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cmd_opts, default_conftest, doctest_namespace, empty_optional_call, linecomp, monkeypatch, pytestconfig, pytester, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, twisted_greenlet > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py:61 ______________________________________________________________ ERROR at setup of test_async_await[empty call] ______________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 274 @skip_if_no_async_await() def test_async_await(testdir, cmd_opts, empty_optional_call): file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 61 @pytest.fixture(name="default_conftest", autouse=True) def _default_conftest(testdir): E fixture 'testdir' not found > available fixtures: LineMatcher, _config_for_test, _pytest, _sys_snapshot, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cmd_opts, default_conftest, doctest_namespace, empty_optional_call, linecomp, monkeypatch, pytestconfig, pytester, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, twisted_greenlet > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py:61 _________________________________________________________________ ERROR at setup of test_twisted_greenlet __________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 296 def test_twisted_greenlet(testdir, cmd_opts): file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 61 @pytest.fixture(name="default_conftest", autouse=True) def _default_conftest(testdir): E fixture 'testdir' not found > available fixtures: LineMatcher, _config_for_test, _pytest, _sys_snapshot, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cmd_opts, default_conftest, doctest_namespace, empty_optional_call, linecomp, monkeypatch, pytestconfig, pytester, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, twisted_greenlet > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py:61 ________________________________________________________________ ERROR at setup of test_blockon_in_fixture _________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 316 def test_blockon_in_fixture(testdir, cmd_opts): file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 61 @pytest.fixture(name="default_conftest", autouse=True) def _default_conftest(testdir): E fixture 'testdir' not found > available fixtures: LineMatcher, _config_for_test, _pytest, _sys_snapshot, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cmd_opts, default_conftest, doctest_namespace, empty_optional_call, linecomp, monkeypatch, pytestconfig, pytester, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, twisted_greenlet > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py:61 _____________________________________________________________ ERROR at setup of test_blockon_in_fixture_async ______________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 341 @skip_if_no_async_await() def test_blockon_in_fixture_async(testdir, cmd_opts): file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 61 @pytest.fixture(name="default_conftest", autouse=True) def _default_conftest(testdir): E fixture 'testdir' not found > available fixtures: LineMatcher, _config_for_test, _pytest, _sys_snapshot, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cmd_opts, default_conftest, doctest_namespace, empty_optional_call, linecomp, monkeypatch, pytestconfig, pytester, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, twisted_greenlet > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py:61 ___________________________________________________________________ ERROR at setup of test_async_fixture ___________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 367 @skip_if_no_async_await() def test_async_fixture(testdir, cmd_opts): file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 61 @pytest.fixture(name="default_conftest", autouse=True) def _default_conftest(testdir): E fixture 'testdir' not found > available fixtures: LineMatcher, _config_for_test, _pytest, _sys_snapshot, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cmd_opts, default_conftest, doctest_namespace, empty_optional_call, linecomp, monkeypatch, pytestconfig, pytester, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, twisted_greenlet > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py:61 ________________________________________________________ ERROR at setup of test_async_fixture_no_arguments[no call] ________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 403 @skip_if_no_async_await() def test_async_fixture_no_arguments(testdir, cmd_opts, empty_optional_call): file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 61 @pytest.fixture(name="default_conftest", autouse=True) def _default_conftest(testdir): E fixture 'testdir' not found > available fixtures: LineMatcher, _config_for_test, _pytest, _sys_snapshot, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cmd_opts, default_conftest, doctest_namespace, empty_optional_call, linecomp, monkeypatch, pytestconfig, pytester, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, twisted_greenlet > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py:61 ______________________________________________________ ERROR at setup of test_async_fixture_no_arguments[empty call] _______________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 403 @skip_if_no_async_await() def test_async_fixture_no_arguments(testdir, cmd_opts, empty_optional_call): file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 61 @pytest.fixture(name="default_conftest", autouse=True) def _default_conftest(testdir): E fixture 'testdir' not found > available fixtures: LineMatcher, _config_for_test, _pytest, _sys_snapshot, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cmd_opts, default_conftest, doctest_namespace, empty_optional_call, linecomp, monkeypatch, pytestconfig, pytester, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, twisted_greenlet > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py:61 _______________________________________________________ ERROR at setup of test_async_yield_fixture_ordered_teardown ________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 422 @skip_if_no_async_generators() def test_async_yield_fixture_ordered_teardown(testdir, cmd_opts): file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 61 @pytest.fixture(name="default_conftest", autouse=True) def _default_conftest(testdir): E fixture 'testdir' not found > available fixtures: LineMatcher, _config_for_test, _pytest, _sys_snapshot, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cmd_opts, default_conftest, doctest_namespace, empty_optional_call, linecomp, monkeypatch, pytestconfig, pytester, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, twisted_greenlet > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py:61 ___________________________________________________________ ERROR at setup of test_async_yield_fixture_can_await ___________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 453 @skip_if_no_async_generators() def test_async_yield_fixture_can_await(testdir, cmd_opts): file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 61 @pytest.fixture(name="default_conftest", autouse=True) def _default_conftest(testdir): E fixture 'testdir' not found > available fixtures: LineMatcher, _config_for_test, _pytest, _sys_snapshot, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cmd_opts, default_conftest, doctest_namespace, empty_optional_call, linecomp, monkeypatch, pytestconfig, pytester, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, twisted_greenlet > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py:61 __________________________________________________________ ERROR at setup of test_async_yield_fixture_failed_test __________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 481 @skip_if_no_async_generators() def test_async_yield_fixture_failed_test(testdir, cmd_opts): file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 61 @pytest.fixture(name="default_conftest", autouse=True) def _default_conftest(testdir): E fixture 'testdir' not found > available fixtures: LineMatcher, _config_for_test, _pytest, _sys_snapshot, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cmd_opts, default_conftest, doctest_namespace, empty_optional_call, linecomp, monkeypatch, pytestconfig, pytester, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, twisted_greenlet > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py:61 ________________________________________________________ ERROR at setup of test_async_yield_fixture_test_exception _________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 500 @skip_if_no_async_generators() def test_async_yield_fixture_test_exception(testdir, cmd_opts): file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 61 @pytest.fixture(name="default_conftest", autouse=True) def _default_conftest(testdir): E fixture 'testdir' not found > available fixtures: LineMatcher, _config_for_test, _pytest, _sys_snapshot, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cmd_opts, default_conftest, doctest_namespace, empty_optional_call, linecomp, monkeypatch, pytestconfig, pytester, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, twisted_greenlet > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py:61 _________________________________________________________ ERROR at setup of test_async_yield_fixture_yields_twice __________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 522 @skip_if_no_async_generators() def test_async_yield_fixture_yields_twice(testdir, cmd_opts): file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 61 @pytest.fixture(name="default_conftest", autouse=True) def _default_conftest(testdir): E fixture 'testdir' not found > available fixtures: LineMatcher, _config_for_test, _pytest, _sys_snapshot, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cmd_opts, default_conftest, doctest_namespace, empty_optional_call, linecomp, monkeypatch, pytestconfig, pytester, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, twisted_greenlet > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py:61 ______________________________________________________ ERROR at setup of test_async_yield_fixture_teardown_exception _______________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 541 @skip_if_no_async_generators() def test_async_yield_fixture_teardown_exception(testdir, cmd_opts): file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 61 @pytest.fixture(name="default_conftest", autouse=True) def _default_conftest(testdir): E fixture 'testdir' not found > available fixtures: LineMatcher, _config_for_test, _pytest, _sys_snapshot, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cmd_opts, default_conftest, doctest_namespace, empty_optional_call, linecomp, monkeypatch, pytestconfig, pytester, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, twisted_greenlet > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py:61 _____________________________________________________ ERROR at setup of test_async_yield_fixture_no_arguments[no call] _____________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 568 @skip_if_no_async_generators() def test_async_yield_fixture_no_arguments( file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 61 @pytest.fixture(name="default_conftest", autouse=True) def _default_conftest(testdir): E fixture 'testdir' not found > available fixtures: LineMatcher, _config_for_test, _pytest, _sys_snapshot, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cmd_opts, default_conftest, doctest_namespace, empty_optional_call, linecomp, monkeypatch, pytestconfig, pytester, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, twisted_greenlet > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py:61 ___________________________________________________ ERROR at setup of test_async_yield_fixture_no_arguments[empty call] ____________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 568 @skip_if_no_async_generators() def test_async_yield_fixture_no_arguments( file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 61 @pytest.fixture(name="default_conftest", autouse=True) def _default_conftest(testdir): E fixture 'testdir' not found > available fixtures: LineMatcher, _config_for_test, _pytest, _sys_snapshot, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cmd_opts, default_conftest, doctest_namespace, empty_optional_call, linecomp, monkeypatch, pytestconfig, pytester, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, twisted_greenlet > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py:61 ________________________________________________________ ERROR at setup of test_async_yield_fixture_function_scope _________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 591 @skip_if_no_async_generators() def test_async_yield_fixture_function_scope(testdir, cmd_opts): file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 61 @pytest.fixture(name="default_conftest", autouse=True) def _default_conftest(testdir): E fixture 'testdir' not found > available fixtures: LineMatcher, _config_for_test, _pytest, _sys_snapshot, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cmd_opts, default_conftest, doctest_namespace, empty_optional_call, linecomp, monkeypatch, pytestconfig, pytester, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, twisted_greenlet > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py:61 __________________________________________________________ ERROR at setup of test_async_simple_fixture_in_fixture __________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 639 @skip_if_no_async_await() def test_async_simple_fixture_in_fixture(testdir, cmd_opts): file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 61 @pytest.fixture(name="default_conftest", autouse=True) def _default_conftest(testdir): E fixture 'testdir' not found > available fixtures: LineMatcher, _config_for_test, _pytest, _sys_snapshot, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cmd_opts, default_conftest, doctest_namespace, empty_optional_call, linecomp, monkeypatch, pytestconfig, pytester, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, twisted_greenlet > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py:61 _______________________________________________________ ERROR at setup of test_async_yield_simple_fixture_in_fixture _______________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 668 @skip_if_no_async_generators() def test_async_yield_simple_fixture_in_fixture(testdir, cmd_opts): file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 61 @pytest.fixture(name="default_conftest", autouse=True) def _default_conftest(testdir): E fixture 'testdir' not found > available fixtures: LineMatcher, _config_for_test, _pytest, _sys_snapshot, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cmd_opts, default_conftest, doctest_namespace, empty_optional_call, linecomp, monkeypatch, pytestconfig, pytester, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, twisted_greenlet > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py:61 _____________________________________________________ ERROR at setup of test_async_fixture_in_fixture[innerasync=True] _____________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 697 @skip_if_no_async_await() @pytest.mark.parametrize('innerasync', [ pytest.param(truth, id='innerasync={}'.format(truth)) for truth in [True, False] ]) def test_async_fixture_in_fixture(testdir, cmd_opts, innerasync): file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 61 @pytest.fixture(name="default_conftest", autouse=True) def _default_conftest(testdir): E fixture 'testdir' not found > available fixtures: LineMatcher, _config_for_test, _pytest, _sys_snapshot, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cmd_opts, default_conftest, doctest_namespace, empty_optional_call, linecomp, monkeypatch, pytestconfig, pytester, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, twisted_greenlet > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py:61 ____________________________________________________ ERROR at setup of test_async_fixture_in_fixture[innerasync=False] _____________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 697 @skip_if_no_async_await() @pytest.mark.parametrize('innerasync', [ pytest.param(truth, id='innerasync={}'.format(truth)) for truth in [True, False] ]) def test_async_fixture_in_fixture(testdir, cmd_opts, innerasync): file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 61 @pytest.fixture(name="default_conftest", autouse=True) def _default_conftest(testdir): E fixture 'testdir' not found > available fixtures: LineMatcher, _config_for_test, _pytest, _sys_snapshot, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cmd_opts, default_conftest, doctest_namespace, empty_optional_call, linecomp, monkeypatch, pytestconfig, pytester, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, twisted_greenlet > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py:61 __________________________________________________ ERROR at setup of test_async_yield_fixture_in_fixture[innerasync=True] __________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 745 @skip_if_no_async_generators() @pytest.mark.parametrize('innerasync', [ pytest.param(truth, id='innerasync={}'.format(truth)) for truth in [True, False] ]) def test_async_yield_fixture_in_fixture(testdir, cmd_opts, innerasync): file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 61 @pytest.fixture(name="default_conftest", autouse=True) def _default_conftest(testdir): E fixture 'testdir' not found > available fixtures: LineMatcher, _config_for_test, _pytest, _sys_snapshot, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cmd_opts, default_conftest, doctest_namespace, empty_optional_call, linecomp, monkeypatch, pytestconfig, pytester, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, twisted_greenlet > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py:61 _________________________________________________ ERROR at setup of test_async_yield_fixture_in_fixture[innerasync=False] __________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 745 @skip_if_no_async_generators() @pytest.mark.parametrize('innerasync', [ pytest.param(truth, id='innerasync={}'.format(truth)) for truth in [True, False] ]) def test_async_yield_fixture_in_fixture(testdir, cmd_opts, innerasync): file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 61 @pytest.fixture(name="default_conftest", autouse=True) def _default_conftest(testdir): E fixture 'testdir' not found > available fixtures: LineMatcher, _config_for_test, _pytest, _sys_snapshot, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cmd_opts, default_conftest, doctest_namespace, empty_optional_call, linecomp, monkeypatch, pytestconfig, pytester, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, twisted_greenlet > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py:61 __________________________________________________________________ ERROR at setup of test_blockon_in_hook __________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 792 def test_blockon_in_hook(testdir, cmd_opts, request): file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 61 @pytest.fixture(name="default_conftest", autouse=True) def _default_conftest(testdir): E fixture 'testdir' not found > available fixtures: LineMatcher, _config_for_test, _pytest, _sys_snapshot, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cmd_opts, default_conftest, doctest_namespace, empty_optional_call, linecomp, monkeypatch, pytestconfig, pytester, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, twisted_greenlet > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py:61 ___________________________________________________________________ ERROR at setup of test_wrong_reactor ___________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 820 def test_wrong_reactor(testdir, cmd_opts, request): file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 61 @pytest.fixture(name="default_conftest", autouse=True) def _default_conftest(testdir): E fixture 'testdir' not found > available fixtures: LineMatcher, _config_for_test, _pytest, _sys_snapshot, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cmd_opts, default_conftest, doctest_namespace, empty_optional_call, linecomp, monkeypatch, pytestconfig, pytester, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, twisted_greenlet > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py:61 __________________________________________________________ ERROR at setup of test_blockon_in_hook_with_qt5reactor __________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 837 def test_blockon_in_hook_with_qt5reactor(testdir, cmd_opts, request): file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 61 @pytest.fixture(name="default_conftest", autouse=True) def _default_conftest(testdir): E fixture 'testdir' not found > available fixtures: LineMatcher, _config_for_test, _pytest, _sys_snapshot, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cmd_opts, default_conftest, doctest_namespace, empty_optional_call, linecomp, monkeypatch, pytestconfig, pytester, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, twisted_greenlet > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py:61 ___________________________________________________________ ERROR at setup of test_wrong_reactor_with_qt5reactor ___________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 867 def test_wrong_reactor_with_qt5reactor(testdir, cmd_opts, request): file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 61 @pytest.fixture(name="default_conftest", autouse=True) def _default_conftest(testdir): E fixture 'testdir' not found > available fixtures: LineMatcher, _config_for_test, _pytest, _sys_snapshot, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cmd_opts, default_conftest, doctest_namespace, empty_optional_call, linecomp, monkeypatch, pytestconfig, pytester, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, twisted_greenlet > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py:61 ____________________________________________________________ ERROR at setup of test_pytest_from_reactor_thread _____________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 884 def test_pytest_from_reactor_thread(testdir, cmd_opts, request): file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 61 @pytest.fixture(name="default_conftest", autouse=True) def _default_conftest(testdir): E fixture 'testdir' not found > available fixtures: LineMatcher, _config_for_test, _pytest, _sys_snapshot, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cmd_opts, default_conftest, doctest_namespace, empty_optional_call, linecomp, monkeypatch, pytestconfig, pytester, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, twisted_greenlet > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py:61 ___________________________________________________________ ERROR at setup of test_blockon_in_hook_with_asyncio ____________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 938 def test_blockon_in_hook_with_asyncio(testdir, cmd_opts, request): file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 61 @pytest.fixture(name="default_conftest", autouse=True) def _default_conftest(testdir): E fixture 'testdir' not found > available fixtures: LineMatcher, _config_for_test, _pytest, _sys_snapshot, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cmd_opts, default_conftest, doctest_namespace, empty_optional_call, linecomp, monkeypatch, pytestconfig, pytester, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, twisted_greenlet > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py:61 ____________________________________________________________ ERROR at setup of test_wrong_reactor_with_asyncio _____________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 971 def test_wrong_reactor_with_asyncio(testdir, cmd_opts, request): file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 61 @pytest.fixture(name="default_conftest", autouse=True) def _default_conftest(testdir): E fixture 'testdir' not found > available fixtures: LineMatcher, _config_for_test, _pytest, _sys_snapshot, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cmd_opts, default_conftest, doctest_namespace, empty_optional_call, linecomp, monkeypatch, pytestconfig, pytester, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, twisted_greenlet > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py:61 ____________________________________________________________ ERROR at setup of test_async_fixture_module_scope _____________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 996 @skip_if_no_async_generators() def test_async_fixture_module_scope(testdir, cmd_opts): file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 61 @pytest.fixture(name="default_conftest", autouse=True) def _default_conftest(testdir): E fixture 'testdir' not found > available fixtures: LineMatcher, _config_for_test, _pytest, _sys_snapshot, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cmd_opts, default_conftest, doctest_namespace, empty_optional_call, linecomp, monkeypatch, pytestconfig, pytester, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, twisted_greenlet > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py:61 ___________________________________________________ ERROR at setup of test_inlinecallbacks_method_with_fixture_gets_self ___________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 1044 def test_inlinecallbacks_method_with_fixture_gets_self(testdir, cmd_opts): file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 61 @pytest.fixture(name="default_conftest", autouse=True) def _default_conftest(testdir): E fixture 'testdir' not found > available fixtures: LineMatcher, _config_for_test, _pytest, _sys_snapshot, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cmd_opts, default_conftest, doctest_namespace, empty_optional_call, linecomp, monkeypatch, pytestconfig, pytester, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, twisted_greenlet > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py:61 _________________________________________________ ERROR at setup of test_inlinecallbacks_method_with_fixture_gets_fixture __________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 1066 def test_inlinecallbacks_method_with_fixture_gets_fixture(testdir, cmd_opts): file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 61 @pytest.fixture(name="default_conftest", autouse=True) def _default_conftest(testdir): E fixture 'testdir' not found > available fixtures: LineMatcher, _config_for_test, _pytest, _sys_snapshot, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cmd_opts, default_conftest, doctest_namespace, empty_optional_call, linecomp, monkeypatch, pytestconfig, pytester, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, twisted_greenlet > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py:61 ___________________________________________________ ERROR at setup of test_ensuredeferred_method_with_fixture_gets_self ____________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 1088 @skip_if_no_async_await() def test_ensuredeferred_method_with_fixture_gets_self(testdir, cmd_opts): file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 61 @pytest.fixture(name="default_conftest", autouse=True) def _default_conftest(testdir): E fixture 'testdir' not found > available fixtures: LineMatcher, _config_for_test, _pytest, _sys_snapshot, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cmd_opts, default_conftest, doctest_namespace, empty_optional_call, linecomp, monkeypatch, pytestconfig, pytester, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, twisted_greenlet > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py:61 __________________________________________________ ERROR at setup of test_ensuredeferred_method_with_fixture_gets_fixture __________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 1108 @skip_if_no_async_await() def test_ensuredeferred_method_with_fixture_gets_fixture(testdir, cmd_opts): file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 61 @pytest.fixture(name="default_conftest", autouse=True) def _default_conftest(testdir): E fixture 'testdir' not found > available fixtures: LineMatcher, _config_for_test, _pytest, _sys_snapshot, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cmd_opts, default_conftest, doctest_namespace, empty_optional_call, linecomp, monkeypatch, pytestconfig, pytester, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, twisted_greenlet > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py:61 ________________________________________________ ERROR at setup of test_import_pytest_twisted_in_conftest_py_not_a_problem _________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 1128 def test_import_pytest_twisted_in_conftest_py_not_a_problem(testdir, cmd_opts): file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 61 @pytest.fixture(name="default_conftest", autouse=True) def _default_conftest(testdir): E fixture 'testdir' not found > available fixtures: LineMatcher, _config_for_test, _pytest, _sys_snapshot, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cmd_opts, default_conftest, doctest_namespace, empty_optional_call, linecomp, monkeypatch, pytestconfig, pytester, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, twisted_greenlet > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py:61 ___________________________________________________ ERROR at setup of test_addSystemEventTrigger[before-shutdown-False] ____________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 1150 @pytest.mark.parametrize(argnames="kill", argvalues=[False, True]) @pytest.mark.parametrize(argnames="event", argvalues=["shutdown"]) @pytest.mark.parametrize( argnames="phase", argvalues=["before", "during", "after"], ) def test_addSystemEventTrigger(testdir, cmd_opts, kill, event, phase): file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 61 @pytest.fixture(name="default_conftest", autouse=True) def _default_conftest(testdir): E fixture 'testdir' not found > available fixtures: LineMatcher, _config_for_test, _pytest, _sys_snapshot, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cmd_opts, default_conftest, doctest_namespace, empty_optional_call, linecomp, monkeypatch, pytestconfig, pytester, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, twisted_greenlet > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py:61 ____________________________________________________ ERROR at setup of test_addSystemEventTrigger[before-shutdown-True] ____________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 1150 @pytest.mark.parametrize(argnames="kill", argvalues=[False, True]) @pytest.mark.parametrize(argnames="event", argvalues=["shutdown"]) @pytest.mark.parametrize( argnames="phase", argvalues=["before", "during", "after"], ) def test_addSystemEventTrigger(testdir, cmd_opts, kill, event, phase): file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 61 @pytest.fixture(name="default_conftest", autouse=True) def _default_conftest(testdir): E fixture 'testdir' not found > available fixtures: LineMatcher, _config_for_test, _pytest, _sys_snapshot, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cmd_opts, default_conftest, doctest_namespace, empty_optional_call, linecomp, monkeypatch, pytestconfig, pytester, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, twisted_greenlet > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py:61 ___________________________________________________ ERROR at setup of test_addSystemEventTrigger[during-shutdown-False] ____________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 1150 @pytest.mark.parametrize(argnames="kill", argvalues=[False, True]) @pytest.mark.parametrize(argnames="event", argvalues=["shutdown"]) @pytest.mark.parametrize( argnames="phase", argvalues=["before", "during", "after"], ) def test_addSystemEventTrigger(testdir, cmd_opts, kill, event, phase): file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 61 @pytest.fixture(name="default_conftest", autouse=True) def _default_conftest(testdir): E fixture 'testdir' not found > available fixtures: LineMatcher, _config_for_test, _pytest, _sys_snapshot, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cmd_opts, default_conftest, doctest_namespace, empty_optional_call, linecomp, monkeypatch, pytestconfig, pytester, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, twisted_greenlet > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py:61 ____________________________________________________ ERROR at setup of test_addSystemEventTrigger[during-shutdown-True] ____________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 1150 @pytest.mark.parametrize(argnames="kill", argvalues=[False, True]) @pytest.mark.parametrize(argnames="event", argvalues=["shutdown"]) @pytest.mark.parametrize( argnames="phase", argvalues=["before", "during", "after"], ) def test_addSystemEventTrigger(testdir, cmd_opts, kill, event, phase): file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 61 @pytest.fixture(name="default_conftest", autouse=True) def _default_conftest(testdir): E fixture 'testdir' not found > available fixtures: LineMatcher, _config_for_test, _pytest, _sys_snapshot, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cmd_opts, default_conftest, doctest_namespace, empty_optional_call, linecomp, monkeypatch, pytestconfig, pytester, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, twisted_greenlet > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py:61 ____________________________________________________ ERROR at setup of test_addSystemEventTrigger[after-shutdown-False] ____________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 1150 @pytest.mark.parametrize(argnames="kill", argvalues=[False, True]) @pytest.mark.parametrize(argnames="event", argvalues=["shutdown"]) @pytest.mark.parametrize( argnames="phase", argvalues=["before", "during", "after"], ) def test_addSystemEventTrigger(testdir, cmd_opts, kill, event, phase): file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 61 @pytest.fixture(name="default_conftest", autouse=True) def _default_conftest(testdir): E fixture 'testdir' not found > available fixtures: LineMatcher, _config_for_test, _pytest, _sys_snapshot, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cmd_opts, default_conftest, doctest_namespace, empty_optional_call, linecomp, monkeypatch, pytestconfig, pytester, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, twisted_greenlet > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py:61 ____________________________________________________ ERROR at setup of test_addSystemEventTrigger[after-shutdown-True] _____________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 1150 @pytest.mark.parametrize(argnames="kill", argvalues=[False, True]) @pytest.mark.parametrize(argnames="event", argvalues=["shutdown"]) @pytest.mark.parametrize( argnames="phase", argvalues=["before", "during", "after"], ) def test_addSystemEventTrigger(testdir, cmd_opts, kill, event, phase): file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 61 @pytest.fixture(name="default_conftest", autouse=True) def _default_conftest(testdir): E fixture 'testdir' not found > available fixtures: LineMatcher, _config_for_test, _pytest, _sys_snapshot, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cmd_opts, default_conftest, doctest_namespace, empty_optional_call, linecomp, monkeypatch, pytestconfig, pytester, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, twisted_greenlet > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py:61 _____________________________________________________________ ERROR at setup of test_sigint_for_regular_tests ______________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 1190 def test_sigint_for_regular_tests(testdir, cmd_opts): file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 61 @pytest.fixture(name="default_conftest", autouse=True) def _default_conftest(testdir): E fixture 'testdir' not found > available fixtures: LineMatcher, _config_for_test, _pytest, _sys_snapshot, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cmd_opts, default_conftest, doctest_namespace, empty_optional_call, linecomp, monkeypatch, pytestconfig, pytester, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, twisted_greenlet > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py:61 _________________________________________________________ ERROR at setup of test_sigint_for_inline_callbacks_tests _________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 1221 def test_sigint_for_inline_callbacks_tests(testdir, cmd_opts): file /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py, line 61 @pytest.fixture(name="default_conftest", autouse=True) def _default_conftest(testdir): E fixture 'testdir' not found > available fixtures: LineMatcher, _config_for_test, _pytest, _sys_snapshot, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cmd_opts, default_conftest, doctest_namespace, empty_optional_call, linecomp, monkeypatch, pytestconfig, pytester, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, twisted_greenlet > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.13.4/testing/test_basic.py:61 ========================================================================= short test summary info ========================================================================== ERROR testing/test_basic.py::test_inline_callbacks_in_pytest ERROR testing/test_basic.py::test_inline_callbacks_in_pytest_deprecation[pytest.inlineCallbacks-True] ERROR testing/test_basic.py::test_inline_callbacks_in_pytest_deprecation[pytest_twisted.inlineCallbacks-False] ERROR testing/test_basic.py::test_blockon_in_pytest ERROR testing/test_basic.py::test_blockon_in_pytest_deprecation[pytest.blockon-True] ERROR testing/test_basic.py::test_blockon_in_pytest_deprecation[pytest_twisted.blockon-False] ERROR testing/test_basic.py::test_fail_later ERROR testing/test_basic.py::test_succeed_later ERROR testing/test_basic.py::test_non_deferred ERROR testing/test_basic.py::test_exception ERROR testing/test_basic.py::test_inlineCallbacks[no call] ERROR testing/test_basic.py::test_inlineCallbacks[empty call] ERROR testing/test_basic.py::test_async_await[no call] ERROR testing/test_basic.py::test_async_await[empty call] ERROR testing/test_basic.py::test_twisted_greenlet ERROR testing/test_basic.py::test_blockon_in_fixture ERROR testing/test_basic.py::test_blockon_in_fixture_async ERROR testing/test_basic.py::test_async_fixture ERROR testing/test_basic.py::test_async_fixture_no_arguments[no call] ERROR testing/test_basic.py::test_async_fixture_no_arguments[empty call] ERROR testing/test_basic.py::test_async_yield_fixture_ordered_teardown ERROR testing/test_basic.py::test_async_yield_fixture_can_await ERROR testing/test_basic.py::test_async_yield_fixture_failed_test ERROR testing/test_basic.py::test_async_yield_fixture_test_exception ERROR testing/test_basic.py::test_async_yield_fixture_yields_twice ERROR testing/test_basic.py::test_async_yield_fixture_teardown_exception ERROR testing/test_basic.py::test_async_yield_fixture_no_arguments[no call] ERROR testing/test_basic.py::test_async_yield_fixture_no_arguments[empty call] ERROR testing/test_basic.py::test_async_yield_fixture_function_scope ERROR testing/test_basic.py::test_async_simple_fixture_in_fixture ERROR testing/test_basic.py::test_async_yield_simple_fixture_in_fixture ERROR testing/test_basic.py::test_async_fixture_in_fixture[innerasync=True] ERROR testing/test_basic.py::test_async_fixture_in_fixture[innerasync=False] ERROR testing/test_basic.py::test_async_yield_fixture_in_fixture[innerasync=True] ERROR testing/test_basic.py::test_async_yield_fixture_in_fixture[innerasync=False] ERROR testing/test_basic.py::test_blockon_in_hook ERROR testing/test_basic.py::test_wrong_reactor ERROR testing/test_basic.py::test_blockon_in_hook_with_qt5reactor ERROR testing/test_basic.py::test_wrong_reactor_with_qt5reactor ERROR testing/test_basic.py::test_pytest_from_reactor_thread ERROR testing/test_basic.py::test_blockon_in_hook_with_asyncio ERROR testing/test_basic.py::test_wrong_reactor_with_asyncio ERROR testing/test_basic.py::test_async_fixture_module_scope ERROR testing/test_basic.py::test_inlinecallbacks_method_with_fixture_gets_self ERROR testing/test_basic.py::test_inlinecallbacks_method_with_fixture_gets_fixture ERROR testing/test_basic.py::test_ensuredeferred_method_with_fixture_gets_self ERROR testing/test_basic.py::test_ensuredeferred_method_with_fixture_gets_fixture ERROR testing/test_basic.py::test_import_pytest_twisted_in_conftest_py_not_a_problem ERROR testing/test_basic.py::test_addSystemEventTrigger[before-shutdown-False] ERROR testing/test_basic.py::test_addSystemEventTrigger[before-shutdown-True] ERROR testing/test_basic.py::test_addSystemEventTrigger[during-shutdown-False] ERROR testing/test_basic.py::test_addSystemEventTrigger[during-shutdown-True] ERROR testing/test_basic.py::test_addSystemEventTrigger[after-shutdown-False] ERROR testing/test_basic.py::test_addSystemEventTrigger[after-shutdown-True] ERROR testing/test_basic.py::test_sigint_for_regular_tests ERROR testing/test_basic.py::test_sigint_for_inline_callbacks_tests ============================================================================ 56 errors in 0.17s ============================================================================ ```
altendky commented 2 years ago

~testdir is a builtin fixture directly from pytest itself. testdir has been deprecated, but it doesn't seem to have been removed yet. Has the rpm for pytest maybe dropped it prematurely somehow?~

~Regardless, with testdir being deprecated it would be good for pytest-twisted to prepare for its removal. We may run into some hassle with the still retained Python 2 support. We'll see.~

altendky commented 2 years ago

Oops, that deprecation link is only about Directly constructing/calling the following classes/functions. So maybe nevermind about that and we just need to debug why your pytest doesn't have testdir.

kloczek commented 2 years ago

Oops, that deprecation link is only about Directly constructing/calling the following classes/functions. So maybe nevermind about that and we just need to debug why your pytest doesn't have testdir.

FYI I'm using pytest 7.1.2.

[tkloczko@devel-g2v SPECS]$ rpm -ql python-pytest | grep testdir -i
[tkloczko@devel-g2v SPECS]$

From pytest changelog:

pytest 6.2.0 (2020-12-12) Breaking Changes issue #7808: pytest now supports python3.6+ only.

Deprecations issue #7469: Directly constructing/calling the following classes/functions is now deprecated:

These have always been considered private, but now issue a deprecation warning, which may become a hard error in pytest 8.0.0.

So looks like that fixture has been removed from pytest ~1.5 years ago.

altendky commented 2 years ago

Sorry I missed this. But Directly constructing/calling the following classes/functions is now deprecated doesn't say the fixture is gone or going away. Just that you have to use them as fixtures instead of instantiating the class yourself.

altendky commented 2 years ago

To double check, here's the class and fixture still present in the code.

https://github.com/pytest-dev/pytest/blob/fab696dcd1ecd621ed05d2552b7d790ab143efe5/src/_pytest/legacypath.py#L41 https://github.com/pytest-dev/pytest/blob/fab696dcd1ecd621ed05d2552b7d790ab143efe5/src/_pytest/legacypath.py#L260

And in the docs.

https://docs.pytest.org/en/7.1.x/reference/reference.html?highlight=testdir#pytest.Testdir https://docs.pytest.org/en/7.1.x/reference/reference.html?highlight=testdir#std-fixture-testdir

Maybe somehow the LegacyTestdirPlugin has been explicitly disabled in your setup?

kloczek commented 1 year ago

Just tested 1.14.0 and now all looks good

+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-pytest-twisted-1.14.0-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-pytest-twisted-1.14.0-2.fc35.x86_64/usr/lib/python3.8/site-packages
+ /usr/bin/pytest -ra -m 'not network' -q
==================================================================================== test session starts ====================================================================================
platform linux -- Python 3.8.18, pytest-7.4.0, pluggy-1.3.0
rootdir: /home/tkloczko/rpmbuild/BUILD/pytest-twisted-1.14.0
configfile: pytest.ini
plugins: twisted-1.14.0, hypothesis-6.82.0
collected 60 items

testing/test_basic.py .....................................ss.ss..................                                                                                                    [100%]

================================================================================== short test summary info ==================================================================================
SKIPPED [2] testing/test_basic.py:77: reactor is default not qt5reactor
SKIPPED [2] testing/test_basic.py:77: reactor is default not asyncio
============================================================================== 56 passed, 4 skipped in 58.02s ===============================================================================

Thank you 👍