Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors in tests #131

Open
yurivict opened this issue Aug 10, 2022 · 12 comments
Open

Errors in tests #131

yurivict opened this issue Aug 10, 2022 · 12 comments

Comments

@yurivict
Copy link

=========================================================================================== ERRORS ===========================================================================================
__________________________________________________________________ ERROR at setup of TestXDoctest.test_collect_testtextfile __________________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py, line 125
      def test_collect_testtextfile(self, testdir):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py:125
__________________________________________________________________ ERROR at setup of TestXDoctest.test_collect_module_empty __________________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py, line 147
      def test_collect_module_empty(self, testdir):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py:147
___________________________________________________________________ ERROR at setup of TestXDoctest.test_simple_doctestfile ___________________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py, line 158
      def test_simple_doctestfile(self, testdir):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py:158
______________________________________________________________________ ERROR at setup of TestXDoctest.test_new_pattern _______________________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py, line 177
      def test_new_pattern(self, testdir):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py:177
___________________________________________________________________ ERROR at setup of TestXDoctest.test_multiple_patterns ____________________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py, line 190
      def test_multiple_patterns(self, testdir):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py:190
__________________________________________________________________ ERROR at setup of TestXDoctest.test_encoding[foo-ascii] ___________________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py, line 256
          @pytest.mark.parametrize(
              "   test_string,    encoding",
              [("foo", "ascii"), ("öäü", "latin1"), ("öäü", "utf-8")],
          )
          def test_encoding(self, pytester, test_string, encoding):
E       fixture 'pytester' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py:256
_____________________________________________________________ ERROR at setup of TestXDoctest.test_encoding[\xf6\xe4\xfc-latin1] ______________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py, line 256
          @pytest.mark.parametrize(
              "   test_string,    encoding",
              [("foo", "ascii"), ("öäü", "latin1"), ("öäü", "utf-8")],
          )
          def test_encoding(self, pytester, test_string, encoding):
E       fixture 'pytester' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py:256
______________________________________________________________ ERROR at setup of TestXDoctest.test_encoding[\xf6\xe4\xfc-utf-8] ______________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py, line 256
          @pytest.mark.parametrize(
              "   test_string,    encoding",
              [("foo", "ascii"), ("öäü", "latin1"), ("öäü", "utf-8")],
          )
          def test_encoding(self, pytester, test_string, encoding):
E       fixture 'pytester' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py:256
____________________________________________________________________ ERROR at setup of TestXDoctest.test_xdoctest_options ____________________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py, line 283
      def test_xdoctest_options(self, testdir):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py:283
______________________________________________________________ ERROR at setup of TestXDoctest.test_doctest_unexpected_exception ______________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py, line 305
      def test_doctest_unexpected_exception(self, testdir):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py:305
________________________________________________________________ ERROR at setup of TestXDoctest.test_doctest_property_lineno _________________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py, line 349
      def test_doctest_property_lineno(self, testdir):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py:349
____________________________________________________________ ERROR at setup of TestXDoctest.test_doctest_property_lineno_freeform ____________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py, line 379
      def test_doctest_property_lineno_freeform(self, testdir):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py:379
_____________________________________________________________ ERROR at setup of TestXDoctest.test_doctest_property_lineno_google _____________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py, line 412
      def test_doctest_property_lineno_google(self, testdir):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py:412
___________________________________________________________ ERROR at setup of TestXDoctest.test_doctest_property_lineno_google_v2 ____________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py, line 445
      def test_doctest_property_lineno_google_v2(self, testdir):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py:445
_____________________________________________________________ ERROR at setup of TestXDoctest.test_docstring_show_entire_doctest ______________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py, line 480
      def test_docstring_show_entire_doctest(self, testdir):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py:480
___________________________________________________________ ERROR at setup of TestXDoctest.test_doctest_unex_importerror_only_txt ____________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py, line 535
      def test_doctest_unex_importerror_only_txt(self, testdir):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py:535
__________________________________________________________ ERROR at setup of TestXDoctest.test_doctest_unex_importerror_with_module __________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py, line 550
      def test_doctest_unex_importerror_with_module(self, testdir):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py:550
____________________________________________________________________ ERROR at setup of TestXDoctest.test_txtfile_failing _____________________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py, line 632
      def test_txtfile_failing(self, testdir):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py:632
_________________________________________________________________ ERROR at setup of TestXDoctest.test_txtfile_with_fixtures __________________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py, line 655
      def test_txtfile_with_fixtures(self, testdir):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py:655
____________________________________________________________ ERROR at setup of TestXDoctest.test_txtfile_with_usefixtures_in_ini _____________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py, line 668
      def test_txtfile_with_usefixtures_in_ini(self, testdir):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py:668
___________________________________________________________________ ERROR at setup of TestXDoctest.test_ignored_whitespace ___________________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py, line 692
      def test_ignored_whitespace(self, testdir):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py:692
________________________________________________________________ ERROR at setup of TestXDoctest.test_ignored_whitespace_glob _________________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py, line 709
      def test_ignored_whitespace_glob(self, testdir):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py:709
____________________________________________________________________ ERROR at setup of TestXDoctest.test_contains_unicode ____________________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py, line 722
      def test_contains_unicode(self, testdir):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py:722
________________________________________________________________ ERROR at setup of TestXDoctest.test_junit_report_for_doctest ________________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py, line 741
      def test_junit_report_for_doctest(self, testdir):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py:741
_________________________________________________________________ ERROR at setup of TestXDoctest.test_unicode_doctest_module _________________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py, line 757
      def test_unicode_doctest_module(self, testdir):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py:757
________________________________________________________________ ERROR at setup of TestXDoctest.test_xdoctest_multiline_list _________________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py, line 779
      def test_xdoctest_multiline_list(self, testdir):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py:779
_______________________________________________________________ ERROR at setup of TestXDoctest.test_xdoctest_multiline_string ________________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py, line 794
      def test_xdoctest_multiline_string(self, testdir):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py:794
___________________________________________________________________ ERROR at setup of TestXDoctest.test_xdoctest_trycatch ____________________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py, line 828
      def test_xdoctest_trycatch(self, testdir):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py:828
___________________________________________________________________ ERROR at setup of TestXDoctest.test_xdoctest_functions ___________________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py, line 859
      def test_xdoctest_functions(self, testdir):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py:859
___________________________________________________________________ ERROR at setup of TestXDoctest.test_stdout_capture_no ____________________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py, line 882
      def test_stdout_capture_no(self, testdir):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py:882
___________________________________________________________________ ERROR at setup of TestXDoctest.test_stdout_capture_yes ___________________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py, line 908
      def test_stdout_capture_yes(self, testdir):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py:908
________________________________________________________________ ERROR at setup of TestXDoctestModuleLevel.test_doctestmodule ________________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py, line 932
      def test_doctestmodule(self, testdir):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py:932
__________________________________________________ ERROR at setup of TestXDoctestModuleLevel.test_collect_module_single_modulelevel_doctest __________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py, line 957
      def test_collect_module_single_modulelevel_doctest(self, testdir):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py:957
_________________________________________________ ERROR at setup of TestXDoctestModuleLevel.test_collect_module_two_doctest_one_modulelevel __________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py, line 976
      def test_collect_module_two_doctest_one_modulelevel(self, testdir):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py:976
__________________________________________________ ERROR at setup of TestXDoctestModuleLevel.test_collect_module_two_doctest_no_modulelevel __________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py, line 990
      def test_collect_module_two_doctest_no_modulelevel(self, testdir):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py:990
______________________________________________________________ ERROR at setup of TestXDoctestSkips.test_xdoctest_skips_diabled _______________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py, line 1128
      def test_xdoctest_skips_diabled(self, testdir):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, makedoctest, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py:1128
_____________________________________________________________ ERROR at setup of TestXDoctestSkips.test_one_skipped_passed[text] ______________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py, line 1158
      def test_one_skipped_passed(self, testdir, makedoctest):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, makedoctest, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py:1158
____________________________________________________________ ERROR at setup of TestXDoctestSkips.test_one_skipped_passed[module] _____________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py, line 1158
      def test_one_skipped_passed(self, testdir, makedoctest):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, makedoctest, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py:1158
_____________________________________________________________ ERROR at setup of TestXDoctestSkips.test_one_skipped_failed[text] ______________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py, line 1172
      def test_one_skipped_failed(self, testdir, makedoctest):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, makedoctest, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py:1172
____________________________________________________________ ERROR at setup of TestXDoctestSkips.test_one_skipped_failed[module] _____________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py, line 1172
      def test_one_skipped_failed(self, testdir, makedoctest):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, makedoctest, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py:1172
_________________________________________________________________ ERROR at setup of TestXDoctestSkips.test_all_skipped[text] _________________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py, line 1186
      def test_all_skipped(self, testdir, makedoctest):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, makedoctest, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py:1186
________________________________________________________________ ERROR at setup of TestXDoctestSkips.test_all_skipped[module] ________________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py, line 1186
      def test_all_skipped(self, testdir, makedoctest):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, makedoctest, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py:1186
_____________________________________________________________ ERROR at setup of TestXDoctestSkips.test_all_skipped_global[text] ______________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py, line 1203
      def test_all_skipped_global(self, testdir, makedoctest):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, makedoctest, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py:1203
____________________________________________________________ ERROR at setup of TestXDoctestSkips.test_all_skipped_global[module] _____________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py, line 1203
      def test_all_skipped_global(self, testdir, makedoctest):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, makedoctest, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py:1203
_____________________________________________________________ ERROR at setup of TestXDoctestSkips.test_vacuous_all_skipped[text] _____________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py, line 1219
      def test_vacuous_all_skipped(self, testdir, makedoctest):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, makedoctest, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py:1219
____________________________________________________________ ERROR at setup of TestXDoctestSkips.test_vacuous_all_skipped[module] ____________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py, line 1219
      def test_vacuous_all_skipped(self, testdir, makedoctest):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, makedoctest, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py:1219
_____________________________________________________ ERROR at setup of TestXDoctestAutoUseFixtures.test_doctest_module_session_fixture ______________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py, line 1229
      def test_doctest_module_session_fixture(self, testdir):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py:1229
_______________________________________________________ ERROR at setup of TestXDoctestAutoUseFixtures.test_fixture_scopes[True-module] _______________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py, line 1261
      @pytest.mark.parametrize('scope', SCOPES)
      @pytest.mark.parametrize('enable_doctest', [True, False])
      def test_fixture_scopes(self, testdir, scope, enable_doctest):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py:1261
______________________________________________________ ERROR at setup of TestXDoctestAutoUseFixtures.test_fixture_scopes[True-session] _______________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py, line 1261
      @pytest.mark.parametrize('scope', SCOPES)
      @pytest.mark.parametrize('enable_doctest', [True, False])
      def test_fixture_scopes(self, testdir, scope, enable_doctest):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py:1261
_______________________________________________________ ERROR at setup of TestXDoctestAutoUseFixtures.test_fixture_scopes[True-class] ________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py, line 1261
      @pytest.mark.parametrize('scope', SCOPES)
      @pytest.mark.parametrize('enable_doctest', [True, False])
      def test_fixture_scopes(self, testdir, scope, enable_doctest):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py:1261
______________________________________________________ ERROR at setup of TestXDoctestAutoUseFixtures.test_fixture_scopes[True-function] ______________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py, line 1261
      @pytest.mark.parametrize('scope', SCOPES)
      @pytest.mark.parametrize('enable_doctest', [True, False])
      def test_fixture_scopes(self, testdir, scope, enable_doctest):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py:1261
______________________________________________________ ERROR at setup of TestXDoctestAutoUseFixtures.test_fixture_scopes[False-module] _______________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/tests/test_plugin.py, line 1261
      @pytest.mark.parametrize('scope', SCOPES)
      @pytest.mark.parametrize('enable_doctest', [True, False])
      def test_fixture_scopes(self, testdir, scope, enable_doctest):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

Version: 1.0.1
FreeBSD 13.1

@Erotemic
Copy link
Owner

Hmm, that seems like a pytest issue rather than an issue with xdoctest. (FWIW I'm really not a fan of the testdir fixture, I use it only to verify backwards compatibility with the pytest doctest tests). It's far too magic for my taste.

Do the doctests themselves pass? I.e. running xdoctest -m xdoctest? That's the most important thing to verify. There should be ~119 passing tests in that instance.

I'm also wondering how you are running the tests? Also the version of pytest would be good to know. If you have the bandwidth, a dockerfile that setups a MWE that illustrates the issue on FreeBSD would be the most valuable.

@yurivict
Copy link
Author

xdoctest -m xdoctest has 1 failure:

DOCTEST STDOUT/STDERR
DOCTEST RESULT
* SUCCESS: /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/stage/usr/local/lib/python3.9/site-packages/xdoctest/docstr/docscrape_google.py::parse_google_argblock:0
====== </exec> ======
============
Finished doctests
118 / 127 passed

=== Found 1 run-time warnings ===
--- Runtime Warning: 1 / 1 ---
example = <DocTest(xdoctest.utils.util_notebook execute_notebook:0 ln 224) at 0x8499dd820>
    /usr/local/lib/python3.9/site-packages/jupyter_client/connect.py:159: RuntimeWarning: Failed to set sticky bit on '/tmp/tmpo0308ykx.json': [Errno 79] Inappropriate file type or format: '/tmp/tmpo0308ykx.json'
    Probably not a big deal, but runtime files may be cleaned up periodically.
      warnings.warn(
    

=== Found 1 errors ===
--- Error: 1 / 1 ---
    * REASON: AssertionError
    DOCTEST DEBUG INFO
      XDoc "/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/stage/usr/local/lib/python3.9/site-packages/xdoctest/directive.py::__doc__:1", line 16 <- wrt doctest
      File "/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/stage/usr/local/lib/python3.9/site-packages/xdoctest/directive.py", line 126, <- wrt source file
    DOCTEST PART BREAKDOWN
    Passed Parts:
         1 >>> import sys
         2 >>> count = 0
    Failed Part:
        14 >>> # xdoctest: -REQUIRES(DARWIN)
        15 >>> print(count)
        16 >>> assert count == 1, 'Exactly one of the above parts should have run'
          0
    Remaining Parts:
        17 >>> # xdoctest: +REQUIRES(--verbose)
        18 >>> print('This is only printed if you run with --verbose')
    DOCTEST TRACEBACK
    Traceback (most recent call last):
    
      File "/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/stage/usr/local/lib/python3.9/site-packages/xdoctest/doctest_example.py", line 735, in run
        exec(code, test_globals)
    
      File "<doctest:/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/stage/usr/local/lib/python3.9/site-packages/xdoctest/directive.py::__doc__:1>", line rel: 16, abs: 126, in <module>
        >>> assert count == 1, 'Exactly one of the above parts should have run'
    
    AssertionError: Exactly one of the above parts should have run
    DOCTEST REPRODUCTION
    CommandLine:
        python -m xdoctest /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/stage/usr/local/lib/python3.9/site-packages/xdoctest/directive.py __doc__:1

=== Failed tests ===
python -m xdoctest /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/stage/usr/local/lib/python3.9/site-packages/xdoctest/directive.py __doc__:1
=== 1 failed, 118 passed, 8 skipped, 1 warnings in 10.58 seconds ===

@Erotemic
Copy link
Owner

That's an OK failure. It's a problem with the test, not the library. Still needs to be fixed though.

I made the naive assumption that win32, linux, and darwin were the only values of sys.platform. That test will need to be updated. Likely, just run the assert if sys.platform in {'win32', 'linux', 'darwin'} is the easiest way to do it.

The pytest failure is strange though. Versions of pytest and how the tests are being invoked would be good to know here.

@yurivict
Copy link
Author

Yes, 'freebsd' should be added there.

@yurivict
Copy link
Author

$ pkg info | grep pytest
py39-flaky-3.7.0               Plugin for nose or pytest that automatically reruns flaky tests
py39-pytest-7.1.2,1            Simple powerful testing with Python
py39-pytest-cov-2.9.0          Pytest plugin for measuring coverage
py39-pytest-forked-1.4.0       Run tests in isolated forked subprocesses
py39-pytest-runner-5.3.2       Test support for pytest runner in setup.py
py39-pytest-xdist-2.5.0,1      Pytest xdist plugin for distributed testing and loop-on-failing modes

@yurivict
Copy link
Author

Complete pytest invokation:

cd /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1 && /usr/bin/env XDG_DATA_HOME=/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39  XDG_CONFIG_HOME=/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39  XDG_CACHE_HOME=/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/.cache  HOME=/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39 PATH=/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/.bin:/home/yuri/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin PKG_CONFIG_LIBDIR=/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES LDSHARED="cc -shared" PYTHONDONTWRITEBYTECODE= PYTHONOPTIMIZE= PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe -fno-omit-frame-pointer  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-fno-omit-frame-pointer"  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fno-omit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -fno-omit-frame-pointer  "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444" PYTHONPATH=/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/stage/usr/local/lib/python3.9/site-packages /usr/local/bin/python3.9 -m pytest -k '' -rs -v -o addopts= 
==================================================================================== test session starts =====================================================================================
platform freebsd13 -- Python 3.9.13, pytest-7.1.2, pluggy-1.0.0 -- /usr/local/bin/python3.9
cachedir: .pytest_cache
hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1/.hypothesis/examples')
rootdir: /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.1, configfile: pytest.ini
plugins: xdoctest-1.0.1, hypothesis-6.53.0, cov-2.9.0, forked-1.4.0, xdist-2.5.0, typeguard-2.13.3, flaky-3.7.0
collecting 117 items                                                                                                                                                                         ```

@Erotemic
Copy link
Owner

Do you know if it is picking up the pytest.ini or pyproject.toml settings in the base of the repo? It includes extra addopts that are probably needed here:

[tool.pytest.ini_options]
addopts = "-p no:doctest --xdoctest --xdoctest-style=google --ignore-glob=setup.py --ignore-glob=dev"
norecursedirs = ".git ignore build __pycache__ dev _skbuild"

@Erotemic
Copy link
Owner

The non-pytest issue is fixed in 6af2790

Still not sure what's happening with pytest. I don't have a freebsd machine to test on. Apparently docker doesn't support it. Based on:

pytest-dev/pytest#9284 and pytest-dev/pytest#9280

I would recommend trying to add -p pytester to your pytest options. I don't think there is anything xdoctest can do to fix that.

@yurivict
Copy link
Author

yurivict commented Sep 4, 2022

1.0.2 has these failures:

=========================================================================================== ERRORS ===========================================================================================
__________________________________________________________________ ERROR at setup of TestXDoctest.test_collect_testtextfile __________________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 125
      def test_collect_testtextfile(self, testdir):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:125
__________________________________________________________________ ERROR at setup of TestXDoctest.test_collect_module_empty __________________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 147
      def test_collect_module_empty(self, testdir):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:147
___________________________________________________________________ ERROR at setup of TestXDoctest.test_simple_doctestfile ___________________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 158
      def test_simple_doctestfile(self, testdir):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:158
______________________________________________________________________ ERROR at setup of TestXDoctest.test_new_pattern _______________________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 177
      def test_new_pattern(self, testdir):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:177
___________________________________________________________________ ERROR at setup of TestXDoctest.test_multiple_patterns ____________________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 190
      def test_multiple_patterns(self, testdir):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:190
__________________________________________________________________ ERROR at setup of TestXDoctest.test_encoding[foo-ascii] ___________________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 256
          @pytest.mark.parametrize(
              "   test_string,    encoding",
              [("foo", "ascii"), ("öäü", "latin1"), ("öäü", "utf-8")],
          )
          def test_encoding(self, pytester, test_string, encoding):
E       fixture 'pytester' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:256
_____________________________________________________________ ERROR at setup of TestXDoctest.test_encoding[\xf6\xe4\xfc-latin1] ______________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 256
          @pytest.mark.parametrize(
              "   test_string,    encoding",
              [("foo", "ascii"), ("öäü", "latin1"), ("öäü", "utf-8")],
          )
          def test_encoding(self, pytester, test_string, encoding):
E       fixture 'pytester' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:256
______________________________________________________________ ERROR at setup of TestXDoctest.test_encoding[\xf6\xe4\xfc-utf-8] ______________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 256
          @pytest.mark.parametrize(
              "   test_string,    encoding",
              [("foo", "ascii"), ("öäü", "latin1"), ("öäü", "utf-8")],
          )
          def test_encoding(self, pytester, test_string, encoding):
E       fixture 'pytester' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:256
____________________________________________________________________ ERROR at setup of TestXDoctest.test_xdoctest_options ____________________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 283
      def test_xdoctest_options(self, testdir):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:283
______________________________________________________________ ERROR at setup of TestXDoctest.test_doctest_unexpected_exception ______________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 305
      def test_doctest_unexpected_exception(self, testdir):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:305
________________________________________________________________ ERROR at setup of TestXDoctest.test_doctest_property_lineno _________________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 349
      def test_doctest_property_lineno(self, testdir):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:349
____________________________________________________________ ERROR at setup of TestXDoctest.test_doctest_property_lineno_freeform ____________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 379
      def test_doctest_property_lineno_freeform(self, testdir):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:379
_____________________________________________________________ ERROR at setup of TestXDoctest.test_doctest_property_lineno_google _____________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 412
      def test_doctest_property_lineno_google(self, testdir):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:412
___________________________________________________________ ERROR at setup of TestXDoctest.test_doctest_property_lineno_google_v2 ____________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 445
      def test_doctest_property_lineno_google_v2(self, testdir):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:445
_____________________________________________________________ ERROR at setup of TestXDoctest.test_docstring_show_entire_doctest ______________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 480
      def test_docstring_show_entire_doctest(self, testdir):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:480
___________________________________________________________ ERROR at setup of TestXDoctest.test_doctest_unex_importerror_only_txt ____________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 535
      def test_doctest_unex_importerror_only_txt(self, testdir):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:535
__________________________________________________________ ERROR at setup of TestXDoctest.test_doctest_unex_importerror_with_module __________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 550
      def test_doctest_unex_importerror_with_module(self, testdir):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:550
____________________________________________________________________ ERROR at setup of TestXDoctest.test_txtfile_failing _____________________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 632
      def test_txtfile_failing(self, testdir):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:632
_________________________________________________________________ ERROR at setup of TestXDoctest.test_txtfile_with_fixtures __________________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 655
      def test_txtfile_with_fixtures(self, testdir):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:655
____________________________________________________________ ERROR at setup of TestXDoctest.test_txtfile_with_usefixtures_in_ini _____________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 668
      def test_txtfile_with_usefixtures_in_ini(self, testdir):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:668
___________________________________________________________________ ERROR at setup of TestXDoctest.test_ignored_whitespace ___________________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 692
      def test_ignored_whitespace(self, testdir):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:692
________________________________________________________________ ERROR at setup of TestXDoctest.test_ignored_whitespace_glob _________________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 709
      def test_ignored_whitespace_glob(self, testdir):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:709
____________________________________________________________________ ERROR at setup of TestXDoctest.test_contains_unicode ____________________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 722
      def test_contains_unicode(self, testdir):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:722
________________________________________________________________ ERROR at setup of TestXDoctest.test_junit_report_for_doctest ________________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 741
      def test_junit_report_for_doctest(self, testdir):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:741
_________________________________________________________________ ERROR at setup of TestXDoctest.test_unicode_doctest_module _________________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 757
      def test_unicode_doctest_module(self, testdir):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:757
________________________________________________________________ ERROR at setup of TestXDoctest.test_xdoctest_multiline_list _________________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 779
      def test_xdoctest_multiline_list(self, testdir):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:779
_______________________________________________________________ ERROR at setup of TestXDoctest.test_xdoctest_multiline_string ________________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 794
      def test_xdoctest_multiline_string(self, testdir):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:794
___________________________________________________________________ ERROR at setup of TestXDoctest.test_xdoctest_trycatch ____________________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 828
      def test_xdoctest_trycatch(self, testdir):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:828
___________________________________________________________________ ERROR at setup of TestXDoctest.test_xdoctest_functions ___________________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 859
      def test_xdoctest_functions(self, testdir):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:859
___________________________________________________________________ ERROR at setup of TestXDoctest.test_stdout_capture_no ____________________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 882
      def test_stdout_capture_no(self, testdir):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:882
___________________________________________________________________ ERROR at setup of TestXDoctest.test_stdout_capture_yes ___________________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 908
      def test_stdout_capture_yes(self, testdir):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:908
________________________________________________________________ ERROR at setup of TestXDoctestModuleLevel.test_doctestmodule ________________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 932
      def test_doctestmodule(self, testdir):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:932
__________________________________________________ ERROR at setup of TestXDoctestModuleLevel.test_collect_module_single_modulelevel_doctest __________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 957
      def test_collect_module_single_modulelevel_doctest(self, testdir):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:957
_________________________________________________ ERROR at setup of TestXDoctestModuleLevel.test_collect_module_two_doctest_one_modulelevel __________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 976
      def test_collect_module_two_doctest_one_modulelevel(self, testdir):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:976
__________________________________________________ ERROR at setup of TestXDoctestModuleLevel.test_collect_module_two_doctest_no_modulelevel __________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 990
      def test_collect_module_two_doctest_no_modulelevel(self, testdir):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:990
______________________________________________________________ ERROR at setup of TestXDoctestSkips.test_xdoctest_skips_diabled _______________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 1128
      def test_xdoctest_skips_diabled(self, testdir):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, makedoctest, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:1128
_____________________________________________________________ ERROR at setup of TestXDoctestSkips.test_one_skipped_passed[text] ______________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 1158
      def test_one_skipped_passed(self, testdir, makedoctest):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, makedoctest, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:1158
____________________________________________________________ ERROR at setup of TestXDoctestSkips.test_one_skipped_passed[module] _____________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 1158
      def test_one_skipped_passed(self, testdir, makedoctest):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, makedoctest, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:1158
_____________________________________________________________ ERROR at setup of TestXDoctestSkips.test_one_skipped_failed[text] ______________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 1172
      def test_one_skipped_failed(self, testdir, makedoctest):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, makedoctest, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:1172
____________________________________________________________ ERROR at setup of TestXDoctestSkips.test_one_skipped_failed[module] _____________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 1172
      def test_one_skipped_failed(self, testdir, makedoctest):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, makedoctest, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:1172
_________________________________________________________________ ERROR at setup of TestXDoctestSkips.test_all_skipped[text] _________________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 1186
      def test_all_skipped(self, testdir, makedoctest):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, makedoctest, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:1186
________________________________________________________________ ERROR at setup of TestXDoctestSkips.test_all_skipped[module] ________________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 1186
      def test_all_skipped(self, testdir, makedoctest):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, makedoctest, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:1186
_____________________________________________________________ ERROR at setup of TestXDoctestSkips.test_all_skipped_global[text] ______________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 1203
      def test_all_skipped_global(self, testdir, makedoctest):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, makedoctest, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:1203
____________________________________________________________ ERROR at setup of TestXDoctestSkips.test_all_skipped_global[module] _____________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 1203
      def test_all_skipped_global(self, testdir, makedoctest):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, makedoctest, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:1203
_____________________________________________________________ ERROR at setup of TestXDoctestSkips.test_vacuous_all_skipped[text] _____________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 1219
      def test_vacuous_all_skipped(self, testdir, makedoctest):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, makedoctest, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:1219
____________________________________________________________ ERROR at setup of TestXDoctestSkips.test_vacuous_all_skipped[module] ____________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 1219
      def test_vacuous_all_skipped(self, testdir, makedoctest):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, makedoctest, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:1219
_____________________________________________________ ERROR at setup of TestXDoctestAutoUseFixtures.test_doctest_module_session_fixture ______________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 1229
      def test_doctest_module_session_fixture(self, testdir):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:1229
_______________________________________________________ ERROR at setup of TestXDoctestAutoUseFixtures.test_fixture_scopes[True-module] _______________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 1261
      @pytest.mark.parametrize('scope', SCOPES)
      @pytest.mark.parametrize('enable_doctest', [True, False])
      def test_fixture_scopes(self, testdir, scope, enable_doctest):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:1261
______________________________________________________ ERROR at setup of TestXDoctestAutoUseFixtures.test_fixture_scopes[True-session] _______________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 1261
      @pytest.mark.parametrize('scope', SCOPES)
      @pytest.mark.parametrize('enable_doctest', [True, False])
      def test_fixture_scopes(self, testdir, scope, enable_doctest):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:1261
_______________________________________________________ ERROR at setup of TestXDoctestAutoUseFixtures.test_fixture_scopes[True-class] ________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 1261
      @pytest.mark.parametrize('scope', SCOPES)
      @pytest.mark.parametrize('enable_doctest', [True, False])
      def test_fixture_scopes(self, testdir, scope, enable_doctest):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:1261
______________________________________________________ ERROR at setup of TestXDoctestAutoUseFixtures.test_fixture_scopes[True-function] ______________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 1261
      @pytest.mark.parametrize('scope', SCOPES)
      @pytest.mark.parametrize('enable_doctest', [True, False])
      def test_fixture_scopes(self, testdir, scope, enable_doctest):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:1261
______________________________________________________ ERROR at setup of TestXDoctestAutoUseFixtures.test_fixture_scopes[False-module] _______________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 1261
      @pytest.mark.parametrize('scope', SCOPES)
      @pytest.mark.parametrize('enable_doctest', [True, False])
      def test_fixture_scopes(self, testdir, scope, enable_doctest):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:1261
______________________________________________________ ERROR at setup of TestXDoctestAutoUseFixtures.test_fixture_scopes[False-session] ______________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 1261
      @pytest.mark.parametrize('scope', SCOPES)
      @pytest.mark.parametrize('enable_doctest', [True, False])
      def test_fixture_scopes(self, testdir, scope, enable_doctest):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:1261
_______________________________________________________ ERROR at setup of TestXDoctestAutoUseFixtures.test_fixture_scopes[False-class] _______________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 1261
      @pytest.mark.parametrize('scope', SCOPES)
      @pytest.mark.parametrize('enable_doctest', [True, False])
      def test_fixture_scopes(self, testdir, scope, enable_doctest):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:1261
_____________________________________________________ ERROR at setup of TestXDoctestAutoUseFixtures.test_fixture_scopes[False-function] ______________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 1261
      @pytest.mark.parametrize('scope', SCOPES)
      @pytest.mark.parametrize('enable_doctest', [True, False])
      def test_fixture_scopes(self, testdir, scope, enable_doctest):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:1261
_____________________________________________ ERROR at setup of TestXDoctestAutoUseFixtures.test_fixture_module_doctest_scopes[True-True-module] _____________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 1291
      @pytest.mark.parametrize('scope', SCOPES)
      @pytest.mark.parametrize('autouse', [True, False])
      @pytest.mark.parametrize('use_fixture_in_doctest', [True, False])
      def test_fixture_module_doctest_scopes(self, testdir, scope, autouse,
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:1291
____________________________________________ ERROR at setup of TestXDoctestAutoUseFixtures.test_fixture_module_doctest_scopes[True-True-session] _____________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 1291
      @pytest.mark.parametrize('scope', SCOPES)
      @pytest.mark.parametrize('autouse', [True, False])
      @pytest.mark.parametrize('use_fixture_in_doctest', [True, False])
      def test_fixture_module_doctest_scopes(self, testdir, scope, autouse,
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:1291
_____________________________________________ ERROR at setup of TestXDoctestAutoUseFixtures.test_fixture_module_doctest_scopes[True-True-class] ______________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 1291
      @pytest.mark.parametrize('scope', SCOPES)
      @pytest.mark.parametrize('autouse', [True, False])
      @pytest.mark.parametrize('use_fixture_in_doctest', [True, False])
      def test_fixture_module_doctest_scopes(self, testdir, scope, autouse,
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:1291
____________________________________________ ERROR at setup of TestXDoctestAutoUseFixtures.test_fixture_module_doctest_scopes[True-True-function] ____________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 1291
      @pytest.mark.parametrize('scope', SCOPES)
      @pytest.mark.parametrize('autouse', [True, False])
      @pytest.mark.parametrize('use_fixture_in_doctest', [True, False])
      def test_fixture_module_doctest_scopes(self, testdir, scope, autouse,
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:1291
____________________________________________ ERROR at setup of TestXDoctestAutoUseFixtures.test_fixture_module_doctest_scopes[True-False-module] _____________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 1291
      @pytest.mark.parametrize('scope', SCOPES)
      @pytest.mark.parametrize('autouse', [True, False])
      @pytest.mark.parametrize('use_fixture_in_doctest', [True, False])
      def test_fixture_module_doctest_scopes(self, testdir, scope, autouse,
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:1291
____________________________________________ ERROR at setup of TestXDoctestAutoUseFixtures.test_fixture_module_doctest_scopes[True-False-session] ____________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 1291
      @pytest.mark.parametrize('scope', SCOPES)
      @pytest.mark.parametrize('autouse', [True, False])
      @pytest.mark.parametrize('use_fixture_in_doctest', [True, False])
      def test_fixture_module_doctest_scopes(self, testdir, scope, autouse,
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:1291
_____________________________________________ ERROR at setup of TestXDoctestAutoUseFixtures.test_fixture_module_doctest_scopes[True-False-class] _____________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 1291
      @pytest.mark.parametrize('scope', SCOPES)
      @pytest.mark.parametrize('autouse', [True, False])
      @pytest.mark.parametrize('use_fixture_in_doctest', [True, False])
      def test_fixture_module_doctest_scopes(self, testdir, scope, autouse,
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:1291
___________________________________________ ERROR at setup of TestXDoctestAutoUseFixtures.test_fixture_module_doctest_scopes[True-False-function] ____________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 1291
      @pytest.mark.parametrize('scope', SCOPES)
      @pytest.mark.parametrize('autouse', [True, False])
      @pytest.mark.parametrize('use_fixture_in_doctest', [True, False])
      def test_fixture_module_doctest_scopes(self, testdir, scope, autouse,
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:1291
____________________________________________ ERROR at setup of TestXDoctestAutoUseFixtures.test_fixture_module_doctest_scopes[False-True-module] _____________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 1291
      @pytest.mark.parametrize('scope', SCOPES)
      @pytest.mark.parametrize('autouse', [True, False])
      @pytest.mark.parametrize('use_fixture_in_doctest', [True, False])
      def test_fixture_module_doctest_scopes(self, testdir, scope, autouse,
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:1291
____________________________________________ ERROR at setup of TestXDoctestAutoUseFixtures.test_fixture_module_doctest_scopes[False-True-session] ____________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 1291
      @pytest.mark.parametrize('scope', SCOPES)
      @pytest.mark.parametrize('autouse', [True, False])
      @pytest.mark.parametrize('use_fixture_in_doctest', [True, False])
      def test_fixture_module_doctest_scopes(self, testdir, scope, autouse,
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:1291
_____________________________________________ ERROR at setup of TestXDoctestAutoUseFixtures.test_fixture_module_doctest_scopes[False-True-class] _____________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 1291
      @pytest.mark.parametrize('scope', SCOPES)
      @pytest.mark.parametrize('autouse', [True, False])
      @pytest.mark.parametrize('use_fixture_in_doctest', [True, False])
      def test_fixture_module_doctest_scopes(self, testdir, scope, autouse,
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:1291
___________________________________________ ERROR at setup of TestXDoctestAutoUseFixtures.test_fixture_module_doctest_scopes[False-True-function] ____________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 1291
      @pytest.mark.parametrize('scope', SCOPES)
      @pytest.mark.parametrize('autouse', [True, False])
      @pytest.mark.parametrize('use_fixture_in_doctest', [True, False])
      def test_fixture_module_doctest_scopes(self, testdir, scope, autouse,
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:1291
____________________________________________ ERROR at setup of TestXDoctestAutoUseFixtures.test_fixture_module_doctest_scopes[False-False-module] ____________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 1291
      @pytest.mark.parametrize('scope', SCOPES)
      @pytest.mark.parametrize('autouse', [True, False])
      @pytest.mark.parametrize('use_fixture_in_doctest', [True, False])
      def test_fixture_module_doctest_scopes(self, testdir, scope, autouse,
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:1291
___________________________________________ ERROR at setup of TestXDoctestAutoUseFixtures.test_fixture_module_doctest_scopes[False-False-session] ____________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 1291
      @pytest.mark.parametrize('scope', SCOPES)
      @pytest.mark.parametrize('autouse', [True, False])
      @pytest.mark.parametrize('use_fixture_in_doctest', [True, False])
      def test_fixture_module_doctest_scopes(self, testdir, scope, autouse,
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:1291
____________________________________________ ERROR at setup of TestXDoctestAutoUseFixtures.test_fixture_module_doctest_scopes[False-False-class] _____________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 1291
      @pytest.mark.parametrize('scope', SCOPES)
      @pytest.mark.parametrize('autouse', [True, False])
      @pytest.mark.parametrize('use_fixture_in_doctest', [True, False])
      def test_fixture_module_doctest_scopes(self, testdir, scope, autouse,
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:1291
___________________________________________ ERROR at setup of TestXDoctestAutoUseFixtures.test_fixture_module_doctest_scopes[False-False-function] ___________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 1291
      @pytest.mark.parametrize('scope', SCOPES)
      @pytest.mark.parametrize('autouse', [True, False])
      @pytest.mark.parametrize('use_fixture_in_doctest', [True, False])
      def test_fixture_module_doctest_scopes(self, testdir, scope, autouse,
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:1291
___________________________________________________ ERROR at setup of TestXDoctestAutoUseFixtures.test_auto_use_request_attributes[module] ___________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 1322
      @pytest.mark.parametrize('scope', SCOPES)
      def test_auto_use_request_attributes(self, testdir, scope):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:1322
__________________________________________________ ERROR at setup of TestXDoctestAutoUseFixtures.test_auto_use_request_attributes[session] ___________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 1322
      @pytest.mark.parametrize('scope', SCOPES)
      def test_auto_use_request_attributes(self, testdir, scope):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:1322
___________________________________________________ ERROR at setup of TestXDoctestAutoUseFixtures.test_auto_use_request_attributes[class] ____________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 1322
      @pytest.mark.parametrize('scope', SCOPES)
      def test_auto_use_request_attributes(self, testdir, scope):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:1322
__________________________________________________ ERROR at setup of TestXDoctestAutoUseFixtures.test_auto_use_request_attributes[function] __________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 1322
      @pytest.mark.parametrize('scope', SCOPES)
      def test_auto_use_request_attributes(self, testdir, scope):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:1322
_______________________________________________________ ERROR at setup of TestXDoctestReportingOption.test_doctest_report_udiff[udiff] _______________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 1430
      @pytest.mark.parametrize('format', ['udiff', 'UDIFF', 'uDiFf'])
      def test_doctest_report_udiff(self, testdir, format):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:1430
_______________________________________________________ ERROR at setup of TestXDoctestReportingOption.test_doctest_report_udiff[UDIFF] _______________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 1430
      @pytest.mark.parametrize('format', ['udiff', 'UDIFF', 'uDiFf'])
      def test_doctest_report_udiff(self, testdir, format):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:1430
_______________________________________________________ ERROR at setup of TestXDoctestReportingOption.test_doctest_report_udiff[uDiFf] _______________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 1430
      @pytest.mark.parametrize('format', ['udiff', 'UDIFF', 'uDiFf'])
      def test_doctest_report_udiff(self, testdir, format):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:1430
__________________________________________________________ ERROR at setup of TestXDoctestReportingOption.test_doctest_report_cdiff ___________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 1443
      def test_doctest_report_cdiff(self, testdir):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:1443
__________________________________________________________ ERROR at setup of TestXDoctestReportingOption.test_doctest_report_ndiff ___________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 1460
      def test_doctest_report_ndiff(self, testdir):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:1460
_____________________________________________ ERROR at setup of TestXDoctestReportingOption.test_doctest_report_none_or_only_first_failure[none] _____________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 1475
      @pytest.mark.parametrize('format', ['none', 'only_first_failure'])
      def test_doctest_report_none_or_only_first_failure(self, testdir, format):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:1475
______________________________________ ERROR at setup of TestXDoctestReportingOption.test_doctest_report_none_or_only_first_failure[only_first_failure] ______________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 1475
      @pytest.mark.parametrize('format', ['none', 'only_first_failure'])
      def test_doctest_report_none_or_only_first_failure(self, testdir, format):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:1475
_________________________________________________________ ERROR at setup of TestXDoctestReportingOption.test_doctest_report_invalid __________________________________________________________
file /disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py, line 1494
      def test_doctest_report_invalid(self, testdir):
E       fixture 'testdir' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id, xdoctest_namespace
>       use 'pytest --fixtures [testpath]' for help on them.

/disk-samsung/freebsd-ports/devel/py-xdoctest/work-py39/xdoctest-1.0.2/tests/test_plugin.py:1494
========================================================================================== FAILURES ==========================================================================================
_____________________________________________________________________________ test_xdoc_console_script_location ______________________________________________________________________________

    def test_xdoc_console_script_location():
        skip_if_not_installed()
    
        if sys.platform.startswith('win32'):
            pytest.skip()
            path = os.path.realpath(sys.executable)
            for i in range(4):
                path = os.path.dirname(path)
                print('path = {!r}'.format(path))
                scriptdir = os.path.join(path, 'Scripts')
                if os.path.exists(scriptdir):
                    break
            script_path = os.path.join(scriptdir, 'xdoctest.exe')
            assert os.path.exists(script_path)
            # info = cmd('where xdoctest.exe')
            return
        else:
            info = cmd('which xdoctest')
    
        out = info['out']
        script_fpath = out.strip()
        script_fname = os.path.basename(script_fpath)
>       assert script_fname.startswith('xdoctest')
E       AssertionError: assert False
E        +  where False = <built-in method startswith of str object at 0x82ac86670>('xdoctest')
E        +    where <built-in method startswith of str object at 0x82ac86670> = ''.startswith

tests/test_entry_point.py:54: AssertionError
_______________________________________________________________________________ test_xdoc_console_script_exec ________________________________________________________________________________

    def test_xdoc_console_script_exec():
        skip_if_not_installed()
        if sys.platform.startswith('win32'):
            path = os.path.realpath(sys.executable)
            for i in range(4):
                path = os.path.dirname(path)
                print('path = {!r}'.format(path))
                scriptdir = os.path.join(path, 'Scripts')
                if os.path.exists(scriptdir):
                    break
            info = cmd(os.path.join(scriptdir, 'xdoctest.exe'))
        else:
            info = cmd('xdoctest')
        print('info = {!r}'.format(info))
>       assert 'usage' in info['err']
E       AssertionError: assert 'usage' in '/bin/sh: xdoctest: not found\n'

tests/test_entry_point.py:71: AssertionError
------------------------------------------------------------------------------------ Captured stdout call ------------------------------------------------------------------------------------
info = {'proc': <Popen: returncode: 127 args: 'xdoctest'>, 'out': '', 'err': '/bin/sh: xdoctest: not found\n', 'ret': 127}
================================================================================== short test summary info ===================================================================================
SKIPPED [1] tests/test_binary_ext.py:125: skbuild, ninja, cmake, or pybind11 not available
SKIPPED [1] ../stage/usr/local/lib/python3.9/site-packages/xdoctest/doctest_example.py:908: Skipped
SKIPPED [2] tests/test_notebook.py:31: Missing jupyter
SKIPPED [1] tests/test_plugin.py:579: pytest 3.7.0 broke this. Not sure why
SKIPPED [2] tests/test_plugin.py:1030: bytes are not supported yet
SKIPPED [2] tests/test_plugin.py:1060: bytes are not supported yet
SKIPPED [1] tests/test_plugin.py:1090: bytes are not supported yet
SKIPPED [1] tests/test_plugin.py:1104: bytes are not supported yet
SKIPPED [4] tests/test_plugin.py:1362: unconditional skip
SKIPPED [4] tests/test_plugin.py:1383: unconditional skip
=================================================================== 2 failed, 112 passed, 19 skipped, 83 errors in 13.71s ====================================================================

@Erotemic
Copy link
Owner

Erotemic commented Sep 4, 2022

Did you try adding -p pytester or the other pytest options? The issue is that the pytest plugin that provides the testdir fixture isn't loaded. Looking at your command it runs pytest with no options enabled, so I imagine that's why it's failing.

@Erotemic
Copy link
Owner

Erotemic commented Sep 5, 2022

I installed a FreeBSD VM and was able to reproduce your errors. There were two errors that need to be fixed in xdoctest itself. Those fixes are on: #134

However, the "testdir" errors are due to the way you are invoking pytest.

When I run: python3.9 -m pytest -k '' -rs -v -o addopts=

I got 83 errors:

image

But if I add the option that tells pytest to use the pytester option: python3.9 -m pytest -k '' -p pytester -rs -v -o addopts=

I get no errors and 196 tests pass:

image

However, you might notice that these tests do not include any of the doctests themselves! That is because you aren't using the pytest configuration specified in pyproject.toml. But you can replicate it fairly easily. Just add -p xdoctest --xdoctest, so

python3.9 -m pytest -k '' -p pytester -p xdoctest --xdoctest -rs -v -o addopts=

Results in 288 tests passed.

image

@yurivict
Copy link
Author

With the above command (python -m pytest -k '' -p pytester -rs -v -o addopts=) 5 tests fail in version 1.1.1:

=============================================================================================== FAILURES ================================================================================================
__________________________________________________________________________________ TestXDoctest.test_multiple_patterns __________________________________________________________________________________

self = <test_plugin.TestXDoctest object at 0x8db19e8b0>, testdir = <Testdir local('/tmp/pytest-of-yuri/pytest-1/test_multiple_patterns0')>

    def test_multiple_patterns(self, testdir):
        """Test support for multiple --xdoctest-glob arguments (#1255).
    
        CommandLine:
            pytest tests/test_plugin.py::TestXDoctest::test_multiple_patterns
        """
        testdir.maketxtfile(xdoc="""
            >>> 1
            1
        """)
        testdir.makefile('.foo', test="""
            >>> 1
            1
        """)
        testdir.maketxtfile(test_normal="""
            >>> 1
            1
        """)
        expected = set(['xdoc.txt', 'test.foo', 'test_normal.txt'])
        assert set(x.basename for x in testdir.tmpdir.listdir()) == expected
        args = ["--xdoctest-glob=xdoc*.txt", "--xdoctest-glob=*.foo", '-s']
        result = testdir.runpytest(*(args + EXTRA_ARGS))
>       result.stdout.fnmatch_lines([
            '*test.foo *',
            '*xdoc.txt *',
            '*2 passed*',
        ])
E       Failed: nomatch: '*test.foo *'
E           and: '============================= test session starts =============================='
E           and: 'platform freebsd13 -- Python 3.9.16, pytest-7.2.1, pluggy-1.0.0'
E           and: 'Using --randomly-seed=2969103060'
E           and: 'benchmark: 4.0.0 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmup_iterations=100000)'
E           and: 'rootdir: /tmp/pytest-of-yuri/pytest-1/test_multiple_patterns0'
E           and: 'plugins: xdoctest-1.1.1, forked-1.4.0, hypothesis-6.65.2, mypy-plugins-1.10.1, cov-2.9.0, randomly-3.12.0, timeout-2.1.0, rerunfailures-10.1, flaky-3.7.0, xdist-2.5.0, env-0.6.2, typeguard-3.0.2, freezegun-0.4.2, mock-3.10.0, benchmark-4.0.0, subtests-0.9.0'
E           and: 'collected 2 items'
E           and: ''
E           and: 'xdoc.txt ====== <exec> ======'
E           and: '* DOCTEST : <modpath?>::xdoc.txt:0, line 1 <- wrt source file'
E           and: 'DOCTEST RESULT'
E           and: '* SUCCESS: <modpath?>::xdoc.txt:0'
E           and: '====== </exec> ======'
E           and: '.'
E       fnmatch: '*test.foo *'
E          with: 'test.foo ====== <exec> ======'
E       nomatch: '*xdoc.txt *'
E           and: '* DOCTEST : <modpath?>::test.foo:0, line 1 <- wrt source file'
E           and: 'DOCTEST RESULT'
E           and: '* SUCCESS: <modpath?>::test.foo:0'
E           and: '====== </exec> ======'
E           and: '.'
E           and: ''
E           and: '=============================== warnings summary ==============================='
E           and: '../../../../usr/local/lib/python3.9/site-packages/pytest_freezegun.py:17'
E           and: '../../../../usr/local/lib/python3.9/site-packages/pytest_freezegun.py:17'
E           and: '../../../../usr/local/lib/python3.9/site-packages/pytest_freezegun.py:17'
E           and: '../../../../usr/local/lib/python3.9/site-packages/pytest_freezegun.py:17'
E           and: '  /usr/local/lib/python3.9/site-packages/pytest_freezegun.py:17: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.'
E           and: "    if LooseVersion(pytest.__version__) < LooseVersion('3.6.0'):"
E           and: ''
E           and: '-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html'
E           and: '======================== 2 passed, 4 warnings in 0.05s ========================='
E       remains unmatched: '*xdoc.txt *'

/usr/ports/devel/py-xdoctest/work-py39/xdoctest-1.1.1/tests/test_plugin.py:212: Failed
----------------------------------------------------------------------------------------- Captured stdout call ------------------------------------------------------------------------------------------
============================= test session starts ==============================
platform freebsd13 -- Python 3.9.16, pytest-7.2.1, pluggy-1.0.0
Using --randomly-seed=2969103060
benchmark: 4.0.0 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmup_iterations=100000)
rootdir: /tmp/pytest-of-yuri/pytest-1/test_multiple_patterns0
plugins: xdoctest-1.1.1, forked-1.4.0, hypothesis-6.65.2, mypy-plugins-1.10.1, cov-2.9.0, randomly-3.12.0, timeout-2.1.0, rerunfailures-10.1, flaky-3.7.0, xdist-2.5.0, env-0.6.2, typeguard-3.0.2, freezegun-0.4.2, mock-3.10.0, benchmark-4.0.0, subtests-0.9.0
collected 2 items

xdoc.txt ====== <exec> ======
* DOCTEST : <modpath?>::xdoc.txt:0, line 1 <- wrt source file
DOCTEST RESULT
* SUCCESS: <modpath?>::xdoc.txt:0
====== </exec> ======
.
test.foo ====== <exec> ======
* DOCTEST : <modpath?>::test.foo:0, line 1 <- wrt source file
DOCTEST RESULT
* SUCCESS: <modpath?>::test.foo:0
====== </exec> ======
.

=============================== warnings summary ===============================
../../../../usr/local/lib/python3.9/site-packages/pytest_freezegun.py:17
../../../../usr/local/lib/python3.9/site-packages/pytest_freezegun.py:17
../../../../usr/local/lib/python3.9/site-packages/pytest_freezegun.py:17
../../../../usr/local/lib/python3.9/site-packages/pytest_freezegun.py:17
  /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
======================== 2 passed, 4 warnings in 0.05s =========================
_____________________________________________________________________________________ test_xdoctest_inside_notebook _____________________________________________________________________________________

    def test_xdoctest_inside_notebook():
        """
        xdoctest ~/code/xdoctest/tests/test_notebook.py test_xdoctest_inside_notebook
        xdoctest tests/test_notebook.py test_xdoctest_inside_notebook
    
        xdoctest notebook_with_doctests.ipynb
        """
        # How to run Jupyter from Python
        # https://nbconvert.readthedocs.io/en/latest/execute_api.html
        skip_notebook_tests_if_unsupported()
    
        notebook_fpath = demodata_notebook_fpath()
    
        from xdoctest.utils import util_notebook
>       nb, resources = util_notebook.execute_notebook(notebook_fpath, verbose=3)

tests/test_notebook.py:78: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

ipynb_fpath = '/usr/ports/devel/py-xdoctest/work-py39/xdoctest-1.1.1/tests/notebook_with_doctests.ipynb', timeout = None, verbose = 3

    def execute_notebook(ipynb_fpath, timeout=None, verbose=None):
        """
        Execute an IPython notebook in a separate kernel
    
        Args:
            ipynb_fpath (str | PathLike): path to the ipython notebook file to import
    
        Returns:
            nbformat.notebooknode.NotebookNode : nb
                The executed notebook.
            dict: resources
                Additional resources used in the conversion process.
    
        Example:
            >>> # xdoctest: +REQUIRES(PY3, module:IPython, module:nbconvert, CPYTHON)
            >>> from xdoctest import utils
            >>> from os.path import join
            >>> self = utils.TempDir()
            >>> dpath = self.ensure()
            >>> ipynb_fpath = join(dpath, 'hello_world.ipydb')
            >>> _make_test_notebook_fpath(ipynb_fpath, [utils.codeblock(
            >>>     '''
            >>>     print('hello world')
            >>>     ''')])
            >>> nb, resources = execute_notebook(ipynb_fpath, verbose=3)
            >>> print('resources = {!r}'.format(resources))
            >>> print('nb = {!r}'.format(nb))
            >>> for cell in nb['cells']:
            >>>     if len(cell['outputs']) != 1:
            >>>         import warnings
            >>>         warnings.warn('expected an output, is this the issue '
            >>>                       'described [here](https://github.com/nteract/papermill/issues/426)?')
    
        """
        import nbformat
        import logging
>       from nbconvert.preprocessors import ExecutePreprocessor
E       ImportError: cannot import name 'ExecutePreprocessor' from 'nbconvert.preprocessors' (unknown location)

../stage/usr/local/lib/python3.9/site-packages/xdoctest/utils/util_notebook.py:246: ImportError
____________________________________________________________________________________ test_xdoctest_outside_notebook _____________________________________________________________________________________

    def test_xdoctest_outside_notebook():
    
        skip_notebook_tests_if_unsupported()
    
        if sys.platform.startswith('win32'):
            pytest.skip()
    
        notebook_fpath = demodata_notebook_fpath()
        info = cmd(sys.executable + ' -m xdoctest ' + notebook_fpath)
        text = info['out']
>       assert '3 / 3 passed' in text
E       assert '3 / 3 passed' in "\n=====================================\n_  _ ___  ____ ____ ___ ____ ____ ___\n \\/  |  \\ |  | |     |  |___ [__   |\n_/\\_ |__/ |__| |___  |  |___ ___]  |\n\n=====================================\n\nStart doctest_module('/usr/ports/devel/py-xdoctest/work-py39/xdoctest-1.1.1/tests/notebook_with_doctests.ipynb')\nListing tests\n"

tests/test_notebook.py:97: AssertionError
__________________________________________________________________________________ test_simple_pytest_import_error_cli __________________________________________________________________________________

    def test_simple_pytest_import_error_cli():
        """
        This test case triggers an excessively long callback in xdoctest <
        dev/0.15.7
    
        CommandLine:
            xdoctest ~/code/xdoctest/tests/test_pytest_cli.py test_simple_pytest_import_error_cli
        """
        module_text = utils.codeblock(
            '''
            # There are lines before the bad line
            import os
            import sys
            import does_not_exist
    
            def module_func1():
                """
                This module has a doctest
    
                Example:
                    >>> print('hello world')
                """
            ''')
        temp_module = util_misc.TempModule(module_text, modname='imperr_test_mod')
        command = sys.executable + ' -m pytest -v -s --xdoctest-verbose=3 --xdoctest-supress-import-errors --xdoctest ' + temp_module.dpath
        print(command)
        print('--')
        info = cmd(command)
        print('--')
        # print('info = {}'.format(info))
        print(info['out'])
        # We patched doctest_example so it no longer outputs this in the traceback
        assert 'util_import' not in info['out']
        print(info['out'])
        # Note: flaky changes the return code from 1 to 3, so test non-zero
        assert info['ret'] != 0
    
        # Remove the supress import error flag and now we should get the traceback
        temp_module = util_misc.TempModule(module_text, modname='imperr_test_mod')
        command = sys.executable + ' -m pytest -v -s --xdoctest-verbose=3 --xdoctest ' + temp_module.dpath
        print(command)
        print('--')
        info = cmd(command)
        print('--')
        # print('info = {}'.format(info))
        print(info['out'])
        # We patched doctest_example so it no longer outputs this in the traceback
>       assert 'util_import' in info['out']
E       assert 'util_import' in '============================= test session starts ==============================\nplatform freebsd13 -- Python 3.9.16, pytest-7.2.1, pluggy-1.0.0 -- /usr/local/bin/python3.9\ncachedir: .pytest_cache\nhypothesis profile \'default\' -> database=DirectoryBasedExampleDatabase(\'/usr/ports/devel/py-xdoctest/work-py39/xdoctest-1.1.1/.hypothesis/examples\')\nUsing --randomly-seed=759438425\nbenchmark: 4.0.0 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmup_iterations=100000)\nrootdir: /tmp/tmpfq7co3dp\nplugins: xdoctest-1.1.1, forked-1.4.0, hypothesis-6.65.2, mypy-plugins-1.10.1, cov-2.9.0, randomly-3.12.0, timeout-2.1.0, rerunfailures-10.1, flaky-3.7.0, xdist-2.5.0, env-0.6.2, typeguard-3.0.2, freezegun-0.4.2, mock-3.10.0, benchmark-4.0.0, subtests-0.9.0\ncollecting ... collected 1 item\nINTERNALERROR> Traceback (most recent call last):\nINTERNALERROR>   File "/usr/local/lib/python3.9/site-packages/_pytest/python.py", line 618, in _importtestmodule\nINTERNALERROR>     mod = import_path(self.path, mode=importmode, root=self.config.rootpath)\nINTERNALERROR>   File "/usr/local/lib/python3.9/site-pa..., \'parent\') and hasattr(item.parent, \'obj\'):\nINTERNALERROR>   File "/usr/local/lib/python3.9/site-packages/_pytest/python.py", line 311, in obj\nINTERNALERROR>     self._obj = obj = self._getobj()\nINTERNALERROR>   File "/usr/local/lib/python3.9/site-packages/_pytest/python.py", line 529, in _getobj\nINTERNALERROR>     return self._importtestmodule()\nINTERNALERROR>   File "/usr/local/lib/python3.9/site-packages/_pytest/python.py", line 643, in _importtestmodule\nINTERNALERROR>     raise self.CollectError(\nINTERNALERROR> _pytest.nodes.Collector.CollectError: ImportError while importing test module \'/tmp/tmpfq7co3dp/imperr_test_mod.py\'.\nINTERNALERROR> Hint: make sure your test modules/packages have valid Python names.\nINTERNALERROR> Traceback:\nINTERNALERROR> /usr/local/lib/python3.9/importlib/__init__.py:127: in import_module\nINTERNALERROR>     return _bootstrap._gcd_import(name[level:], package, level)\nINTERNALERROR> /tmp/tmpfq7co3dp/imperr_test_mod.py:4: in <module>\nINTERNALERROR>     import does_not_exist\nINTERNALERROR> E   ModuleNotFoundError: No module named \'does_not_exist\'\n\n============================= 2 warnings in 0.36s ==============================\n'

tests/test_pytest_cli.py:90: AssertionError
----------------------------------------------------------------------------------------- Captured stdout call ------------------------------------------------------------------------------------------
/usr/local/bin/python3.9 -m pytest -v -s --xdoctest-verbose=3 --xdoctest-supress-import-errors --xdoctest /tmp/tmpxajgk0u7
--
--
============================= test session starts ==============================
platform freebsd13 -- Python 3.9.16, pytest-7.2.1, pluggy-1.0.0 -- /usr/local/bin/python3.9
cachedir: .pytest_cache
hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/usr/ports/devel/py-xdoctest/work-py39/xdoctest-1.1.1/.hypothesis/examples')
Using --randomly-seed=3429830591
benchmark: 4.0.0 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmup_iterations=100000)
rootdir: /tmp/tmpxajgk0u7
plugins: xdoctest-1.1.1, forked-1.4.0, hypothesis-6.65.2, mypy-plugins-1.10.1, cov-2.9.0, randomly-3.12.0, timeout-2.1.0, rerunfailures-10.1, flaky-3.7.0, xdist-2.5.0, env-0.6.2, typeguard-3.0.2, freezegun-0.4.2, mock-3.10.0, benchmark-4.0.0, subtests-0.9.0
collecting ... collected 1 item
INTERNALERROR> Traceback (most recent call last):
INTERNALERROR>   File "/usr/local/lib/python3.9/site-packages/_pytest/python.py", line 618, in _importtestmodule
INTERNALERROR>     mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
INTERNALERROR>   File "/usr/local/lib/python3.9/site-packages/_pytest/pathlib.py", line 533, in import_path
INTERNALERROR>     importlib.import_module(module_name)
INTERNALERROR>   File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in import_module
INTERNALERROR>     return _bootstrap._gcd_import(name[level:], package, level)
INTERNALERROR>   File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
INTERNALERROR>   File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
INTERNALERROR>   File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
INTERNALERROR>   File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
INTERNALERROR>   File "<frozen importlib._bootstrap_external>", line 850, in exec_module
INTERNALERROR>   File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
INTERNALERROR>   File "/tmp/tmpxajgk0u7/imperr_test_mod.py", line 4, in <module>
INTERNALERROR>     import does_not_exist
INTERNALERROR> ModuleNotFoundError: No module named 'does_not_exist'
INTERNALERROR> 
INTERNALERROR> The above exception was the direct cause of the following exception:
INTERNALERROR> 
INTERNALERROR> Traceback (most recent call last):
INTERNALERROR>   File "/usr/local/lib/python3.9/site-packages/_pytest/main.py", line 270, in wrap_session
INTERNALERROR>     session.exitstatus = doit(config, session) or 0
INTERNALERROR>   File "/usr/local/lib/python3.9/site-packages/_pytest/main.py", line 324, in _main
INTERNALERROR>     config.hook.pytest_runtestloop(session=session)
INTERNALERROR>   File "/usr/local/lib/python3.9/site-packages/pluggy/_hooks.py", line 265, in __call__
INTERNALERROR>     return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
INTERNALERROR>   File "/usr/local/lib/python3.9/site-packages/pluggy/_manager.py", line 80, in _hookexec
INTERNALERROR>     return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
INTERNALERROR>   File "/usr/local/lib/python3.9/site-packages/pluggy/_callers.py", line 60, in _multicall
INTERNALERROR>     return outcome.get_result()
INTERNALERROR>   File "/usr/local/lib/python3.9/site-packages/pluggy/_result.py", line 60, in get_result
INTERNALERROR>     raise ex[1].with_traceback(ex[2])
INTERNALERROR>   File "/usr/local/lib/python3.9/site-packages/pluggy/_callers.py", line 39, in _multicall
INTERNALERROR>     res = hook_impl.function(*args)
INTERNALERROR>   File "/usr/local/lib/python3.9/site-packages/_pytest/main.py", line 349, in pytest_runtestloop
INTERNALERROR>     item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
INTERNALERROR>   File "/usr/local/lib/python3.9/site-packages/pluggy/_hooks.py", line 265, in __call__
INTERNALERROR>     return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
INTERNALERROR>   File "/usr/local/lib/python3.9/site-packages/pluggy/_manager.py", line 80, in _hookexec
INTERNALERROR>     return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
INTERNALERROR>   File "/usr/local/lib/python3.9/site-packages/pluggy/_callers.py", line 60, in _multicall
INTERNALERROR>     return outcome.get_result()
INTERNALERROR>   File "/usr/local/lib/python3.9/site-packages/pluggy/_result.py", line 60, in get_result
INTERNALERROR>     raise ex[1].with_traceback(ex[2])
INTERNALERROR>   File "/usr/local/lib/python3.9/site-packages/pluggy/_callers.py", line 39, in _multicall
INTERNALERROR>     res = hook_impl.function(*args)
INTERNALERROR>   File "/usr/local/lib/python3.9/site-packages/flaky/flaky_pytest_plugin.py", line 80, in pytest_runtest_protocol
INTERNALERROR>     test_instance = self._get_test_instance(item)
INTERNALERROR>   File "/usr/local/lib/python3.9/site-packages/flaky/flaky_pytest_plugin.py", line 298, in _get_test_instance
INTERNALERROR>     if hasattr(item, 'parent') and hasattr(item.parent, 'obj'):
INTERNALERROR>   File "/usr/local/lib/python3.9/site-packages/_pytest/python.py", line 311, in obj
INTERNALERROR>     self._obj = obj = self._getobj()
INTERNALERROR>   File "/usr/local/lib/python3.9/site-packages/_pytest/python.py", line 529, in _getobj
INTERNALERROR>     return self._importtestmodule()
INTERNALERROR>   File "/usr/local/lib/python3.9/site-packages/_pytest/python.py", line 643, in _importtestmodule
INTERNALERROR>     raise self.CollectError(
INTERNALERROR> _pytest.nodes.Collector.CollectError: ImportError while importing test module '/tmp/tmpxajgk0u7/imperr_test_mod.py'.
INTERNALERROR> Hint: make sure your test modules/packages have valid Python names.
INTERNALERROR> Traceback:
INTERNALERROR> /usr/local/lib/python3.9/importlib/__init__.py:127: in import_module
INTERNALERROR>     return _bootstrap._gcd_import(name[level:], package, level)
INTERNALERROR> /tmp/tmpxajgk0u7/imperr_test_mod.py:4: in <module>
INTERNALERROR>     import does_not_exist
INTERNALERROR> E   ModuleNotFoundError: No module named 'does_not_exist'

============================= 2 warnings in 0.35s ==============================

============================= test session starts ==============================
platform freebsd13 -- Python 3.9.16, pytest-7.2.1, pluggy-1.0.0 -- /usr/local/bin/python3.9
cachedir: .pytest_cache
hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/usr/ports/devel/py-xdoctest/work-py39/xdoctest-1.1.1/.hypothesis/examples')
Using --randomly-seed=3429830591
benchmark: 4.0.0 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmup_iterations=100000)
rootdir: /tmp/tmpxajgk0u7
plugins: xdoctest-1.1.1, forked-1.4.0, hypothesis-6.65.2, mypy-plugins-1.10.1, cov-2.9.0, randomly-3.12.0, timeout-2.1.0, rerunfailures-10.1, flaky-3.7.0, xdist-2.5.0, env-0.6.2, typeguard-3.0.2, freezegun-0.4.2, mock-3.10.0, benchmark-4.0.0, subtests-0.9.0
collecting ... collected 1 item
INTERNALERROR> Traceback (most recent call last):
INTERNALERROR>   File "/usr/local/lib/python3.9/site-packages/_pytest/python.py", line 618, in _importtestmodule
INTERNALERROR>     mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
INTERNALERROR>   File "/usr/local/lib/python3.9/site-packages/_pytest/pathlib.py", line 533, in import_path
INTERNALERROR>     importlib.import_module(module_name)
INTERNALERROR>   File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in import_module
INTERNALERROR>     return _bootstrap._gcd_import(name[level:], package, level)
INTERNALERROR>   File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
INTERNALERROR>   File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
INTERNALERROR>   File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
INTERNALERROR>   File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
INTERNALERROR>   File "<frozen importlib._bootstrap_external>", line 850, in exec_module
INTERNALERROR>   File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
INTERNALERROR>   File "/tmp/tmpxajgk0u7/imperr_test_mod.py", line 4, in <module>
INTERNALERROR>     import does_not_exist
INTERNALERROR> ModuleNotFoundError: No module named 'does_not_exist'
INTERNALERROR> 
INTERNALERROR> The above exception was the direct cause of the following exception:
INTERNALERROR> 
INTERNALERROR> Traceback (most recent call last):
INTERNALERROR>   File "/usr/local/lib/python3.9/site-packages/_pytest/main.py", line 270, in wrap_session
INTERNALERROR>     session.exitstatus = doit(config, session) or 0
INTERNALERROR>   File "/usr/local/lib/python3.9/site-packages/_pytest/main.py", line 324, in _main
INTERNALERROR>     config.hook.pytest_runtestloop(session=session)
INTERNALERROR>   File "/usr/local/lib/python3.9/site-packages/pluggy/_hooks.py", line 265, in __call__
INTERNALERROR>     return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
INTERNALERROR>   File "/usr/local/lib/python3.9/site-packages/pluggy/_manager.py", line 80, in _hookexec
INTERNALERROR>     return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
INTERNALERROR>   File "/usr/local/lib/python3.9/site-packages/pluggy/_callers.py", line 60, in _multicall
INTERNALERROR>     return outcome.get_result()
INTERNALERROR>   File "/usr/local/lib/python3.9/site-packages/pluggy/_result.py", line 60, in get_result
INTERNALERROR>     raise ex[1].with_traceback(ex[2])
INTERNALERROR>   File "/usr/local/lib/python3.9/site-packages/pluggy/_callers.py", line 39, in _multicall
INTERNALERROR>     res = hook_impl.function(*args)
INTERNALERROR>   File "/usr/local/lib/python3.9/site-packages/_pytest/main.py", line 349, in pytest_runtestloop
INTERNALERROR>     item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
INTERNALERROR>   File "/usr/local/lib/python3.9/site-packages/pluggy/_hooks.py", line 265, in __call__
INTERNALERROR>     return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
INTERNALERROR>   File "/usr/local/lib/python3.9/site-packages/pluggy/_manager.py", line 80, in _hookexec
INTERNALERROR>     return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
INTERNALERROR>   File "/usr/local/lib/python3.9/site-packages/pluggy/_callers.py", line 60, in _multicall
INTERNALERROR>     return outcome.get_result()
INTERNALERROR>   File "/usr/local/lib/python3.9/site-packages/pluggy/_result.py", line 60, in get_result
INTERNALERROR>     raise ex[1].with_traceback(ex[2])
INTERNALERROR>   File "/usr/local/lib/python3.9/site-packages/pluggy/_callers.py", line 39, in _multicall
INTERNALERROR>     res = hook_impl.function(*args)
INTERNALERROR>   File "/usr/local/lib/python3.9/site-packages/flaky/flaky_pytest_plugin.py", line 80, in pytest_runtest_protocol
INTERNALERROR>     test_instance = self._get_test_instance(item)
INTERNALERROR>   File "/usr/local/lib/python3.9/site-packages/flaky/flaky_pytest_plugin.py", line 298, in _get_test_instance
INTERNALERROR>     if hasattr(item, 'parent') and hasattr(item.parent, 'obj'):
INTERNALERROR>   File "/usr/local/lib/python3.9/site-packages/_pytest/python.py", line 311, in obj
INTERNALERROR>     self._obj = obj = self._getobj()
INTERNALERROR>   File "/usr/local/lib/python3.9/site-packages/_pytest/python.py", line 529, in _getobj
INTERNALERROR>     return self._importtestmodule()
INTERNALERROR>   File "/usr/local/lib/python3.9/site-packages/_pytest/python.py", line 643, in _importtestmodule
INTERNALERROR>     raise self.CollectError(
INTERNALERROR> _pytest.nodes.Collector.CollectError: ImportError while importing test module '/tmp/tmpxajgk0u7/imperr_test_mod.py'.
INTERNALERROR> Hint: make sure your test modules/packages have valid Python names.
INTERNALERROR> Traceback:
INTERNALERROR> /usr/local/lib/python3.9/importlib/__init__.py:127: in import_module
INTERNALERROR>     return _bootstrap._gcd_import(name[level:], package, level)
INTERNALERROR> /tmp/tmpxajgk0u7/imperr_test_mod.py:4: in <module>
INTERNALERROR>     import does_not_exist
INTERNALERROR> E   ModuleNotFoundError: No module named 'does_not_exist'

============================= 2 warnings in 0.35s ==============================

/usr/local/bin/python3.9 -m pytest -v -s --xdoctest-verbose=3 --xdoctest /tmp/tmpfq7co3dp
--
--
============================= test session starts ==============================
platform freebsd13 -- Python 3.9.16, pytest-7.2.1, pluggy-1.0.0 -- /usr/local/bin/python3.9
cachedir: .pytest_cache
hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/usr/ports/devel/py-xdoctest/work-py39/xdoctest-1.1.1/.hypothesis/examples')
Using --randomly-seed=759438425
benchmark: 4.0.0 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmup_iterations=100000)
rootdir: /tmp/tmpfq7co3dp
plugins: xdoctest-1.1.1, forked-1.4.0, hypothesis-6.65.2, mypy-plugins-1.10.1, cov-2.9.0, randomly-3.12.0, timeout-2.1.0, rerunfailures-10.1, flaky-3.7.0, xdist-2.5.0, env-0.6.2, typeguard-3.0.2, freezegun-0.4.2, mock-3.10.0, benchmark-4.0.0, subtests-0.9.0
collecting ... collected 1 item
INTERNALERROR> Traceback (most recent call last):
INTERNALERROR>   File "/usr/local/lib/python3.9/site-packages/_pytest/python.py", line 618, in _importtestmodule
INTERNALERROR>     mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
INTERNALERROR>   File "/usr/local/lib/python3.9/site-packages/_pytest/pathlib.py", line 533, in import_path
INTERNALERROR>     importlib.import_module(module_name)
INTERNALERROR>   File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in import_module
INTERNALERROR>     return _bootstrap._gcd_import(name[level:], package, level)
INTERNALERROR>   File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
INTERNALERROR>   File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
INTERNALERROR>   File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
INTERNALERROR>   File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
INTERNALERROR>   File "<frozen importlib._bootstrap_external>", line 850, in exec_module
INTERNALERROR>   File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
INTERNALERROR>   File "/tmp/tmpfq7co3dp/imperr_test_mod.py", line 4, in <module>
INTERNALERROR>     import does_not_exist
INTERNALERROR> ModuleNotFoundError: No module named 'does_not_exist'
INTERNALERROR> 
INTERNALERROR> The above exception was the direct cause of the following exception:
INTERNALERROR> 
INTERNALERROR> Traceback (most recent call last):
INTERNALERROR>   File "/usr/local/lib/python3.9/site-packages/_pytest/main.py", line 270, in wrap_session
INTERNALERROR>     session.exitstatus = doit(config, session) or 0
INTERNALERROR>   File "/usr/local/lib/python3.9/site-packages/_pytest/main.py", line 324, in _main
INTERNALERROR>     config.hook.pytest_runtestloop(session=session)
INTERNALERROR>   File "/usr/local/lib/python3.9/site-packages/pluggy/_hooks.py", line 265, in __call__
INTERNALERROR>     return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
INTERNALERROR>   File "/usr/local/lib/python3.9/site-packages/pluggy/_manager.py", line 80, in _hookexec
INTERNALERROR>     return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
INTERNALERROR>   File "/usr/local/lib/python3.9/site-packages/pluggy/_callers.py", line 60, in _multicall
INTERNALERROR>     return outcome.get_result()
INTERNALERROR>   File "/usr/local/lib/python3.9/site-packages/pluggy/_result.py", line 60, in get_result
INTERNALERROR>     raise ex[1].with_traceback(ex[2])
INTERNALERROR>   File "/usr/local/lib/python3.9/site-packages/pluggy/_callers.py", line 39, in _multicall
INTERNALERROR>     res = hook_impl.function(*args)
INTERNALERROR>   File "/usr/local/lib/python3.9/site-packages/_pytest/main.py", line 349, in pytest_runtestloop
INTERNALERROR>     item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
INTERNALERROR>   File "/usr/local/lib/python3.9/site-packages/pluggy/_hooks.py", line 265, in __call__
INTERNALERROR>     return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
INTERNALERROR>   File "/usr/local/lib/python3.9/site-packages/pluggy/_manager.py", line 80, in _hookexec
INTERNALERROR>     return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
INTERNALERROR>   File "/usr/local/lib/python3.9/site-packages/pluggy/_callers.py", line 60, in _multicall
INTERNALERROR>     return outcome.get_result()
INTERNALERROR>   File "/usr/local/lib/python3.9/site-packages/pluggy/_result.py", line 60, in get_result
INTERNALERROR>     raise ex[1].with_traceback(ex[2])
INTERNALERROR>   File "/usr/local/lib/python3.9/site-packages/pluggy/_callers.py", line 39, in _multicall
INTERNALERROR>     res = hook_impl.function(*args)
INTERNALERROR>   File "/usr/local/lib/python3.9/site-packages/flaky/flaky_pytest_plugin.py", line 80, in pytest_runtest_protocol
INTERNALERROR>     test_instance = self._get_test_instance(item)
INTERNALERROR>   File "/usr/local/lib/python3.9/site-packages/flaky/flaky_pytest_plugin.py", line 298, in _get_test_instance
INTERNALERROR>     if hasattr(item, 'parent') and hasattr(item.parent, 'obj'):
INTERNALERROR>   File "/usr/local/lib/python3.9/site-packages/_pytest/python.py", line 311, in obj
INTERNALERROR>     self._obj = obj = self._getobj()
INTERNALERROR>   File "/usr/local/lib/python3.9/site-packages/_pytest/python.py", line 529, in _getobj
INTERNALERROR>     return self._importtestmodule()
INTERNALERROR>   File "/usr/local/lib/python3.9/site-packages/_pytest/python.py", line 643, in _importtestmodule
INTERNALERROR>     raise self.CollectError(
INTERNALERROR> _pytest.nodes.Collector.CollectError: ImportError while importing test module '/tmp/tmpfq7co3dp/imperr_test_mod.py'.
INTERNALERROR> Hint: make sure your test modules/packages have valid Python names.
INTERNALERROR> Traceback:
INTERNALERROR> /usr/local/lib/python3.9/importlib/__init__.py:127: in import_module
INTERNALERROR>     return _bootstrap._gcd_import(name[level:], package, level)
INTERNALERROR> /tmp/tmpfq7co3dp/imperr_test_mod.py:4: in <module>
INTERNALERROR>     import does_not_exist
INTERNALERROR> E   ModuleNotFoundError: No module named 'does_not_exist'

============================= 2 warnings in 0.36s ==============================

_______________________________________________________________________________ test_programatically_generated_docstrings _______________________________________________________________________________

    def test_programatically_generated_docstrings():
        """
        Test that the "dynamic" analysis mode works on dynamically generated
        docstrings.
    
        """
        from xdoctest import utils
        from xdoctest.utils.util_misc import TempModule
        temp = TempModule(utils.codeblock(
            '''
            code = ">>> print('hello world')"
    
            def func1():
                """
                Example:
                    {}
                """
    
            func1.__doc__ = func1.__doc__.format(code)
    
            '''))
    
        import xdoctest
        # auto wont pick up dynamic doctests by default
        # Although in the future it would be cool if it did
        result = xdoctest.doctest_module(temp.modpath, analysis='auto', command='all')
        assert result['n_total'] == 1
        assert result['n_failed'] == 0
    
        # but an explicit dynamic should pick these up
        result = xdoctest.doctest_module(temp.modpath, analysis='dynamic', command='all')
>       assert result['n_passed'] == 1
E       assert 0 == 1

tests/test_dynamic.py:233: AssertionError
----------------------------------------------------------------------------------------- Captured stdout call ------------------------------------------------------------------------------------------
Start doctest_module('/tmp/tmptlvmt7cv/lcyqhbxn.py')
Listing tests
gathering tests
running 1 test(s)
====== <exec> ======
* DOCTEST : /tmp/tmptlvmt7cv/lcyqhbxn.py::func1:0, line 6 <- wrt source file
DOCTEST SOURCE

DOCTEST STDOUT/STDERR
DOCTEST RESULT
* SKIPPED: /tmp/tmptlvmt7cv/lcyqhbxn.py::func1:0
====== </exec> ======
============
=== 1 skipped in 0.01 seconds ===
Start doctest_module('/tmp/tmptlvmt7cv/lcyqhbxn.py')
Listing tests
gathering tests
running 1 test(s)
====== <exec> ======
* DOCTEST : /tmp/tmptlvmt7cv/lcyqhbxn.py::__doc__:0, line 2 <- wrt source file
DOCTEST SOURCE
1 >>> print('some text')
  some text
  more text
4 >>> print('more text')
DOCTEST STDOUT/STDERR
some text
DOCTEST RESULT
* FAILURE: /tmp/tmptlvmt7cv/lcyqhbxn.py::__doc__:0
* REASON: GotWantException
DOCTEST DEBUG INFO
  XDoc "/tmp/tmptlvmt7cv/lcyqhbxn.py::__doc__:0", line 2 <- wrt doctest
  File "/tmp/tmptlvmt7cv/lcyqhbxn.py", line 3, <- wrt source file
DOCTEST PART BREAKDOWN
Failed Part:
    1 >>> print('some text')
      some text
Remaining Parts:
    4 >>> print('more text')
DOCTEST TRACEBACK
Expected:
    some text
    more text
Got:
    some text
    
Repr Difference:
    got  = 'some text'
    want = 'some text\nmore text'
DOCTEST REPRODUCTION
CommandLine:
    python -m xdoctest /tmp/tmptlvmt7cv/lcyqhbxn.py __doc__:0
====== </exec> ======
============

=== Failed tests ===
python -m xdoctest /tmp/tmptlvmt7cv/lcyqhbxn.py __doc__:0
=== 1 failed in 0.01 seconds ===
=========================================================================================== warnings summary ============================================================================================
../../../../../local/lib/python3.9/site-packages/pytest_freezegun.py:17: 436 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'):

tests/test_plugin.py: 89 warnings
  /usr/local/lib/python3.9/site-packages/pytest_cov/plugin.py:115: PytestDeprecationWarning: The hookimpl pytest_load_initial_conftests uses old-style configuration options (marks or attributes).
  Please use the pytest.hookimpl(tryfirst=True) decorator instead
   to configure the hooks.
   See https://docs.pytest.org/en/latest/deprecations.html#configuring-hook-specs-impls-using-markers
    @pytest.mark.tryfirst

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
======================================================================================== short test summary info ========================================================================================
SKIPPED [1] ../stage/usr/local/lib/python3.9/site-packages/xdoctest/doctest_example.py:926: Skipped
SKIPPED [4] tests/test_plugin.py:1362: unconditional skip
SKIPPED [4] tests/test_plugin.py:1383: unconditional skip
SKIPPED [1] tests/test_plugin.py:579: pytest 3.7.0 broke this. Not sure why
SKIPPED [2] tests/test_plugin.py:1060: bytes are not supported yet
SKIPPED [1] tests/test_plugin.py:1104: bytes are not supported yet
SKIPPED [1] tests/test_plugin.py:1090: bytes are not supported yet
SKIPPED [2] tests/test_plugin.py:1030: bytes are not supported yet
SKIPPED [1] tests/test_entry_point.py:36: freebsd is minimal and might not have xdoctest on the path
SKIPPED [1] tests/test_entry_point.py:60: freebsd is minimal and might not have xdoctest on the path
SKIPPED [1] tests/test_binary_ext.py:125: skbuild, ninja, cmake, or pybind11 not available
================================================================== 5 failed, 194 passed, 19 skipped, 525 warnings in 77.67s (0:01:17) ===================================================================
*** Error code 1

The 'testdir' error is gone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants