pytest-dev / pytest-cov

Coverage plugin for pytest.
MIT License
1.72k stars 211 forks source link

Tests fail #579

Open yurivict opened 1 year ago

yurivict commented 1 year ago
_______________________________________________________________________ ERROR at setup of test_show_missing_coveragerc[branch1c] ________________________________________________________________________
file /usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py, line 659
  def test_show_missing_coveragerc(pytester, testdir, prop):
E       fixture 'pytester' not found
>       available fixtures: adjust_sys_path, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, freezer, mock, mocker, monkeypatch, no_cover, prop, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id
>       use 'pytest --fixtures [testpath]' for help on them.

/usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py:659
_________________________________________________________________________________ ERROR at setup of test_cov_and_no_cov _________________________________________________________________________________
file /usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py, line 1861
  @pytest.mark.skipif('sys.platform == "win32" and platform.python_implementation() == "PyPy"')
  def test_cov_and_no_cov(testdir):
E       fixture 'testdir' not found
>       available fixtures: adjust_sys_path, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, freezer, mock, mocker, monkeypatch, no_cover, prop, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id
>       use 'pytest --fixtures [testpath]' for help on them.

/usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py:1861
________________________________________________________________________ ERROR at setup of test_append_coverage[branch1c-xdist] _________________________________________________________________________
file /usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py, line 1711
  @xdist_params
  def test_append_coverage(pytester, testdir, opts, prop):
E       fixture 'pytester' not found
>       available fixtures: adjust_sys_path, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, freezer, mock, mocker, monkeypatch, no_cover, prop, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id
>       use 'pytest --fixtures [testpath]' for help on them.

/usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py:1711
___________________________________________________________________ ERROR at setup of test_central_with_path_aliasing[branch2x-xdist] ___________________________________________________________________
file /usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py, line 549
  @xdist_params
  def test_central_with_path_aliasing(pytester, testdir, monkeypatch, opts, prop):
E       fixture 'pytester' not found
>       available fixtures: adjust_sys_path, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, freezer, mock, mocker, monkeypatch, no_cover, prop, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id
>       use 'pytest --fixtures [testpath]' for help on them.

/usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py:549
____________________________________________________________________ ERROR at setup of test_do_not_append_coverage[nobranch-nodist] _____________________________________________________________________
file /usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py, line 1734
  @xdist_params
  def test_do_not_append_coverage(pytester, testdir, opts, prop):
E       fixture 'pytester' not found
>       available fixtures: adjust_sys_path, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, freezer, mock, mocker, monkeypatch, no_cover, prop, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id
>       use 'pytest --fixtures [testpath]' for help on them.

/usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py:1734
__________________________________________________________________ ERROR at setup of test_central_with_path_aliasing[branch2x-nodist] ___________________________________________________________________
file /usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py, line 549
  @xdist_params
  def test_central_with_path_aliasing(pytester, testdir, monkeypatch, opts, prop):
E       fixture 'pytester' not found
>       available fixtures: adjust_sys_path, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, freezer, mock, mocker, monkeypatch, no_cover, prop, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id
>       use 'pytest --fixtures [testpath]' for help on them.

/usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py:549
_________________________________________________________________________ ERROR at setup of test_central_nonspecific[branch1c] __________________________________________________________________________
file /usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py, line 497
  def test_central_nonspecific(pytester, testdir, prop):
E       fixture 'pytester' not found
>       available fixtures: adjust_sys_path, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, freezer, mock, mocker, monkeypatch, no_cover, prop, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id
>       use 'pytest --fixtures [testpath]' for help on them.

/usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py:497
____________________________________________________________________ ERROR at setup of test_do_not_append_coverage[branch2x-nodist] _____________________________________________________________________
file /usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py, line 1734
  @xdist_params
  def test_do_not_append_coverage(pytester, testdir, opts, prop):
E       fixture 'pytester' not found
>       available fixtures: adjust_sys_path, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, freezer, mock, mocker, monkeypatch, no_cover, prop, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id
>       use 'pytest --fixtures [testpath]' for help on them.

/usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py:1734
____________________________________________________________________________ ERROR at setup of test_external_data_file_xdist ____________________________________________________________________________
file /usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py, line 1663
  @pytest.mark.skipif('sys.platform == "win32" and platform.python_implementation() == "PyPy"')
  def test_external_data_file_xdist(testdir):
E       fixture 'testdir' not found
>       available fixtures: adjust_sys_path, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, freezer, mock, mocker, monkeypatch, no_cover, prop, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id
>       use 'pytest --fixtures [testpath]' for help on them.

/usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py:1663
____________________________________________________________________ ERROR at setup of test_do_not_append_coverage[branch1c-nodist] _____________________________________________________________________
file /usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py, line 1734
  @xdist_params
  def test_do_not_append_coverage(pytester, testdir, opts, prop):
E       fixture 'pytester' not found
>       available fixtures: adjust_sys_path, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, freezer, mock, mocker, monkeypatch, no_cover, prop, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id
>       use 'pytest --fixtures [testpath]' for help on them.

/usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py:1734
____________________________________________________________________ ERROR at setup of test_do_not_append_coverage[branch1a-nodist] _____________________________________________________________________
file /usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py, line 1734
  @xdist_params
  def test_do_not_append_coverage(pytester, testdir, opts, prop):
E       fixture 'pytester' not found
>       available fixtures: adjust_sys_path, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, freezer, mock, mocker, monkeypatch, no_cover, prop, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id
>       use 'pytest --fixtures [testpath]' for help on them.

/usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py:1734
________________________________________________________________________________ ERROR at setup of test_html_output_dir _________________________________________________________________________________
file /usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py, line 270
  def test_html_output_dir(testdir):
E       fixture 'testdir' not found
>       available fixtures: adjust_sys_path, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, freezer, mock, mocker, monkeypatch, no_cover, prop, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id
>       use 'pytest --fixtures [testpath]' for help on them.

/usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py:270
_______________________________________________________________________________ ERROR at setup of test_borken_cwd[nodist] _______________________________________________________________________________
file /usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py, line 583
  @xdist_params
  def test_borken_cwd(pytester, testdir, monkeypatch, opts):
E       fixture 'pytester' not found
>       available fixtures: adjust_sys_path, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, freezer, mock, mocker, monkeypatch, no_cover, prop, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id
>       use 'pytest --fixtures [testpath]' for help on them.

/usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py:583
__________________________________________________________________ ERROR at setup of test_central_with_path_aliasing[nobranch-nodist] ___________________________________________________________________
file /usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py, line 549
  @xdist_params
  def test_central_with_path_aliasing(pytester, testdir, monkeypatch, opts, prop):
E       fixture 'pytester' not found
>       available fixtures: adjust_sys_path, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, freezer, mock, mocker, monkeypatch, no_cover, prop, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id
>       use 'pytest --fixtures [testpath]' for help on them.

/usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py:549
___________________________________________________________________________________ ERROR at setup of test_dist_boxed ___________________________________________________________________________________
file /usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py, line 1559
  @pytest.mark.skipif('sys.platform == "win32"')
  def test_dist_boxed(testdir):
E       fixture 'testdir' not found
>       available fixtures: adjust_sys_path, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, freezer, mock, mocker, monkeypatch, no_cover, prop, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id
>       use 'pytest --fixtures [testpath]' for help on them.

/usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py:1559
________________________________________________________________________________ ERROR at setup of test_disabled_output _________________________________________________________________________________
file /usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py, line 1619
  def test_disabled_output(testdir):
E       fixture 'testdir' not found
>       available fixtures: adjust_sys_path, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, freezer, mock, mocker, monkeypatch, no_cover, prop, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id
>       use 'pytest --fixtures [testpath]' for help on them.

/usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py:1619
_________________________________________________________________________ ERROR at setup of test_dist_not_collocated[branch1a] __________________________________________________________________________
file /usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py, line 788
  @pytest.mark.skipif('sys.platform == "win32" and platform.python_implementation() == "PyPy"')
  def test_dist_not_collocated(pytester, testdir, prop):
E       fixture 'pytester' not found
>       available fixtures: adjust_sys_path, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, freezer, mock, mocker, monkeypatch, no_cover, prop, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id
>       use 'pytest --fixtures [testpath]' for help on them.

/usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py:788
___________________________________________________________________________________ ERROR at setup of test_issue_417 ____________________________________________________________________________________
file /usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py, line 1966
  def test_issue_417(testdir):
E       fixture 'testdir' not found
>       available fixtures: adjust_sys_path, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, freezer, mock, mocker, monkeypatch, no_cover, prop, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id
>       use 'pytest --fixtures [testpath]' for help on them.

/usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py:1966
_____________________________________________________________________________ ERROR at setup of test_default_output_setting _____________________________________________________________________________
file /usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py, line 1606
  def test_default_output_setting(testdir):
E       fixture 'testdir' not found
>       available fixtures: adjust_sys_path, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, freezer, mock, mocker, monkeypatch, no_cover, prop, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id
>       use 'pytest --fixtures [testpath]' for help on them.

/usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py:1606
________________________________________________________________________________ ERROR at setup of test_no_cover_fixture ________________________________________________________________________________
file /usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py, line 1416
  def test_no_cover_fixture(testdir):
E       fixture 'testdir' not found
>       available fixtures: adjust_sys_path, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, freezer, mock, mocker, monkeypatch, no_cover, prop, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id
>       use 'pytest --fixtures [testpath]' for help on them.

/usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py:1416
__________________________________________________________________ ERROR at setup of test_central_with_path_aliasing[branch1a-nodist] ___________________________________________________________________
file /usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py, line 549
  @xdist_params
  def test_central_with_path_aliasing(pytester, testdir, monkeypatch, opts, prop):
E       fixture 'pytester' not found
>       available fixtures: adjust_sys_path, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, freezer, mock, mocker, monkeypatch, no_cover, prop, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id
>       use 'pytest --fixtures [testpath]' for help on them.

/usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py:549
________________________________________________________________________ ERROR at setup of test_append_coverage[branch1c-nodist] ________________________________________________________________________
file /usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py, line 1711
  @xdist_params
  def test_append_coverage(pytester, testdir, opts, prop):
E       fixture 'pytester' not found
>       available fixtures: adjust_sys_path, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, freezer, mock, mocker, monkeypatch, no_cover, prop, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id
>       use 'pytest --fixtures [testpath]' for help on them.

/usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py:1711
________________________________________________________________________ ERROR at setup of test_append_coverage[nobranch-nodist] ________________________________________________________________________
file /usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py, line 1711
  @xdist_params
  def test_append_coverage(pytester, testdir, opts, prop):
E       fixture 'pytester' not found
>       available fixtures: adjust_sys_path, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, freezer, mock, mocker, monkeypatch, no_cover, prop, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id
>       use 'pytest --fixtures [testpath]' for help on them.

/usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py:1711
___________________________________________________________________________________ ERROR at setup of test_cov_min_50 ___________________________________________________________________________________
file /usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py, line 438
  def test_cov_min_50(testdir):
E       fixture 'testdir' not found
>       available fixtures: adjust_sys_path, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, freezer, mock, mocker, monkeypatch, no_cover, prop, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id
>       use 'pytest --fixtures [testpath]' for help on them.

/usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py:438
_________________________________________________________________________________ ERROR at setup of test_clear_environ __________________________________________________________________________________
file /usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py, line 1538
  def test_clear_environ(testdir):
E       fixture 'testdir' not found
>       available fixtures: adjust_sys_path, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, freezer, mock, mocker, monkeypatch, no_cover, prop, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id
>       use 'pytest --fixtures [testpath]' for help on them.

/usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py:1538
________________________________________________________________________ ERROR at setup of test_central_subprocess_no_subscript _________________________________________________________________________
file /usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py, line 922
  def test_central_subprocess_no_subscript(testdir):
E       fixture 'testdir' not found
>       available fixtures: adjust_sys_path, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, freezer, mock, mocker, monkeypatch, no_cover, prop, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id
>       use 'pytest --fixtures [testpath]' for help on them.

/usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py:922
_______________________________________________________________________ ERROR at setup of test_cleanup_on_sigterm_sig_dfl[setup0] _______________________________________________________________________
file /usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py, line 1187
  @pytest.mark.skipif('sys.platform == "win32"', reason="SIGTERM isn't really supported on Windows")
  @pytest.mark.xfail('sys.platform == "darwin"', reason="Something weird going on Macs...")
  @pytest.mark.xfail('platform.python_implementation() == "PyPy"', reason="Interpreter seems buggy")
  @pytest.mark.parametrize('setup', [
      ('signal.signal(signal.SIGTERM, signal.SIG_DFL); cleanup_on_sigterm()', '88%   18-19'),
      ('cleanup_on_sigterm()', '88%   18-19'),
      ('cleanup()', '75%   16-19'),
  ])
  def test_cleanup_on_sigterm_sig_dfl(pytester, testdir, setup):
E       fixture 'pytester' not found
>       available fixtures: adjust_sys_path, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, freezer, mock, mocker, monkeypatch, no_cover, prop, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id
>       use 'pytest --fixtures [testpath]' for help on them.

/usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py:1187
_______________________________________________________________________________ ERROR at setup of test_funcarg_not_active _______________________________________________________________________________
file /usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py, line 1083
  def test_funcarg_not_active(testdir):
E       fixture 'testdir' not found
>       available fixtures: adjust_sys_path, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, freezer, mock, mocker, monkeypatch, no_cover, prop, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id
>       use 'pytest --fixtures [testpath]' for help on them.

/usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py:1083
__________________________________________________________________________ ERROR at setup of test_central_coveragerc[branch1a] __________________________________________________________________________
file /usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py, line 532
  def test_central_coveragerc(pytester, testdir, prop):
E       fixture 'pytester' not found
>       available fixtures: adjust_sys_path, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, freezer, mock, mocker, monkeypatch, no_cover, prop, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id
>       use 'pytest --fixtures [testpath]' for help on them.

/usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py:532
_____________________________________________________________________ ERROR at setup of test_do_not_append_coverage[branch2x-xdist] _____________________________________________________________________
file /usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py, line 1734
  @xdist_params
  def test_do_not_append_coverage(pytester, testdir, opts, prop):
E       fixture 'pytester' not found
>       available fixtures: adjust_sys_path, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, freezer, mock, mocker, monkeypatch, no_cover, prop, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id
>       use 'pytest --fixtures [testpath]' for help on them.

/usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py:1734
_______________________________________________________________________ ERROR at setup of test_cleanup_on_sigterm_sig_dfl[setup1] _______________________________________________________________________
file /usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py, line 1187
  @pytest.mark.skipif('sys.platform == "win32"', reason="SIGTERM isn't really supported on Windows")
  @pytest.mark.xfail('sys.platform == "darwin"', reason="Something weird going on Macs...")
  @pytest.mark.xfail('platform.python_implementation() == "PyPy"', reason="Interpreter seems buggy")
  @pytest.mark.parametrize('setup', [
      ('signal.signal(signal.SIGTERM, signal.SIG_DFL); cleanup_on_sigterm()', '88%   18-19'),
      ('cleanup_on_sigterm()', '88%   18-19'),
      ('cleanup()', '75%   16-19'),
  ])
  def test_cleanup_on_sigterm_sig_dfl(pytester, testdir, setup):
E       fixture 'pytester' not found
>       available fixtures: adjust_sys_path, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, freezer, mock, mocker, monkeypatch, no_cover, prop, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id
>       use 'pytest --fixtures [testpath]' for help on them.

/usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py:1187
________________________________________________________________ ERROR at setup of test_dist_not_collocated_coveragerc_source[nobranch] _________________________________________________________________
file /usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py, line 821
  @pytest.mark.skipif('sys.platform == "win32" and platform.python_implementation() == "PyPy"')
  def test_dist_not_collocated_coveragerc_source(pytester, testdir, prop):
E       fixture 'pytester' not found
>       available fixtures: adjust_sys_path, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, freezer, mock, mocker, monkeypatch, no_cover, prop, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id
>       use 'pytest --fixtures [testpath]' for help on them.

/usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py:821
________________________________________________________________ ERROR at setup of test_dist_not_collocated_coveragerc_source[branch1a] _________________________________________________________________
file /usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py, line 821
  @pytest.mark.skipif('sys.platform == "win32" and platform.python_implementation() == "PyPy"')
  def test_dist_not_collocated_coveragerc_source(pytester, testdir, prop):
E       fixture 'pytester' not found
>       available fixtures: adjust_sys_path, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, freezer, mock, mocker, monkeypatch, no_cover, prop, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id
>       use 'pytest --fixtures [testpath]' for help on them.

/usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py:821
___________________________________________________________________________ ERROR at setup of test_dist_collocated[branch1a] ____________________________________________________________________________
file /usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py, line 768
  @pytest.mark.skipif('sys.platform == "win32" and platform.python_implementation() == "PyPy"')
  def test_dist_collocated(pytester, testdir, prop):
E       fixture 'pytester' not found
>       available fixtures: adjust_sys_path, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, freezer, mock, mocker, monkeypatch, no_cover, prop, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id
>       use 'pytest --fixtures [testpath]' for help on them.

/usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py:768
____________________________________________________________________________ ERROR at setup of test_term_missing_output_dir _____________________________________________________________________________
file /usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py, line 395
  def test_term_missing_output_dir(testdir):
E       fixture 'testdir' not found
>       available fixtures: adjust_sys_path, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, freezer, mock, mocker, monkeypatch, no_cover, prop, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id
>       use 'pytest --fixtures [testpath]' for help on them.

/usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py:395
_______________________________________________________________________________ ERROR at setup of test_central[branch1c] ________________________________________________________________________________
file /usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py, line 198
  def test_central(pytester, testdir, prop):
E       fixture 'pytester' not found
>       available fixtures: adjust_sys_path, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, freezer, mock, mocker, monkeypatch, no_cover, prop, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id
>       use 'pytest --fixtures [testpath]' for help on them.

/usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py:198
__________________________________________________________________________ ERROR at setup of test_central_coveragerc[nobranch] __________________________________________________________________________
file /usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py, line 532
  def test_central_coveragerc(pytester, testdir, prop):
E       fixture 'pytester' not found
>       available fixtures: adjust_sys_path, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, freezer, mock, mocker, monkeypatch, no_cover, prop, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id
>       use 'pytest --fixtures [testpath]' for help on them.

/usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py:532
___________________________________________________________________________ ERROR at setup of test_dist_subprocess_collocated ___________________________________________________________________________
file /usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py, line 945
  @pytest.mark.skipif('sys.platform == "win32" and platform.python_implementation() == "PyPy"')
  def test_dist_subprocess_collocated(testdir):
E       fixture 'testdir' not found
>       available fixtures: adjust_sys_path, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, freezer, mock, mocker, monkeypatch, no_cover, prop, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id
>       use 'pytest --fixtures [testpath]' for help on them.

/usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py:945
_____________________________________________________________________________________ ERROR at setup of test_no_cov _____________________________________________________________________________________
file /usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py, line 702
  def test_no_cov(pytester, testdir, monkeypatch):
E       fixture 'pytester' not found
>       available fixtures: adjust_sys_path, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, freezer, mock, mocker, monkeypatch, no_cover, prop, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id
>       use 'pytest --fixtures [testpath]' for help on them.

/usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py:702
________________________________________________________________________________ ERROR at setup of test_term_output_dir _________________________________________________________________________________
file /usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py, line 381
  def test_term_output_dir(testdir):
E       fixture 'testdir' not found
>       available fixtures: adjust_sys_path, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, freezer, mock, mocker, monkeypatch, no_cover, prop, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id
>       use 'pytest --fixtures [testpath]' for help on them.

/usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py:381
______________________________________________________________________________________ ERROR at setup of test_html ______________________________________________________________________________________
file /usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py, line 251
  def test_html(testdir):
E       fixture 'testdir' not found
>       available fixtures: adjust_sys_path, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, freezer, mock, mocker, monkeypatch, no_cover, prop, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id
>       use 'pytest --fixtures [testpath]' for help on them.

/usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py:251
_______________________________________________________________________ ERROR at setup of test_cleanup_on_sigterm_sig_dfl[setup2] _______________________________________________________________________
file /usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py, line 1187
  @pytest.mark.skipif('sys.platform == "win32"', reason="SIGTERM isn't really supported on Windows")
  @pytest.mark.xfail('sys.platform == "darwin"', reason="Something weird going on Macs...")
  @pytest.mark.xfail('platform.python_implementation() == "PyPy"', reason="Interpreter seems buggy")
  @pytest.mark.parametrize('setup', [
      ('signal.signal(signal.SIGTERM, signal.SIG_DFL); cleanup_on_sigterm()', '88%   18-19'),
      ('cleanup_on_sigterm()', '88%   18-19'),
      ('cleanup()', '75%   16-19'),
  ])
  def test_cleanup_on_sigterm_sig_dfl(pytester, testdir, setup):
E       fixture 'pytester' not found
>       available fixtures: adjust_sys_path, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, freezer, mock, mocker, monkeypatch, no_cover, prop, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id
>       use 'pytest --fixtures [testpath]' for help on them.

/usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py:1187
____________________________________________________________________________ ERROR at setup of test_cov_min_from_coveragerc _____________________________________________________________________________
file /usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py, line 517
  def test_cov_min_from_coveragerc(testdir):
E       fixture 'testdir' not found
>       available fixtures: adjust_sys_path, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, freezer, mock, mocker, monkeypatch, no_cover, prop, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id
>       use 'pytest --fixtures [testpath]' for help on them.

/usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py:517
_______________________________________________________________________ ERROR at setup of test_show_missing_coveragerc[branch1a] ________________________________________________________________________
file /usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py, line 659
  def test_show_missing_coveragerc(pytester, testdir, prop):
E       fixture 'pytester' not found
>       available fixtures: adjust_sys_path, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, freezer, mock, mocker, monkeypatch, no_cover, prop, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id
>       use 'pytest --fixtures [testpath]' for help on them.

/usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py:659
______________________________________________________________________________ ERROR at setup of test_annotate_output_dir _______________________________________________________________________________
file /usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py, line 232
  def test_annotate_output_dir(testdir):
E       fixture 'testdir' not found
>       available fixtures: adjust_sys_path, anyio_backend, anyio_backend_name, anyio_backend_options, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, freezer, mock, mocker, monkeypatch, no_cover, prop, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id
>       use 'pytest --fixtures [testpath]' for help on them.

/usr/ports/devel/py-pytest-cov/work-py39/pytest-cov-4.0.0/tests/test_pytest_cov.py:232
=========================================================================================== warnings summary ============================================================================================
../../../../../local/lib/python3.9/site-packages/pytest_freezegun.py:17: 256 warnings
  /usr/local/lib/python3.9/site-packages/pytest_freezegun.py:17: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
    if LooseVersion(pytest.__version__) < LooseVersion('3.6.0'):

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
======================================================================================== short test summary info ========================================================================================
SKIPPED [3] tests/test_pytest_cov.py:1141: condition: sys.platform != "win32"
SKIPPED [1] tests/test_pytest_cov.py:1952: condition: coverage.version_info >= (5, 0)
SKIPPED [1] tests/test_pytest_cov.py:367: condition: coverage.version_info >= (6, 3)
SKIPPED [1] tests/test_pytest_cov.py:1028: Since pytest-xdist 2.3.0 the parent sys.path is copied in the child process
======================================================================== 1 passed, 6 skipped, 256 warnings, 121 errors in 0.99s =========================================================================
*** Error code 1

Version: 4.0.0 Python-3.9 Pytest-7.2.0 FreeBSD 13.1

ngie-eign commented 1 year ago

The testdir and pytester fixtures should both be available in pytest-6.2.0+.

ngie-eign commented 1 year ago

Here're the missing piece of the puzzle: https://github.com/pytest-dev/pytest-cov/blob/2ea944212d62841cbd95ce49ef4586c8450435fd/setup.cfg#L5-L11 The tests implicitly rely on certain options being specified.

ngie-eign commented 1 year ago

Adding that option reduces the failures to the set described in #570--filed by the upstream FreeBSD maintainer, @danigm.

ngie-eign commented 1 year ago

Figured out that #570 has been fixed on main. This issue should be closed, or at the very least converted into a more succinct work item noting that some of the tests require -p pytester to function.