Skip to content

6.2.4: pytest selftest is failing when pytest-randomly is instaled #9016

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

Closed
3 of 4 tasks
kloczek opened this issue Aug 18, 2021 · 2 comments
Closed
3 of 4 tasks

6.2.4: pytest selftest is failing when pytest-randomly is instaled #9016

kloczek opened this issue Aug 18, 2021 · 2 comments

Comments

@kloczek
Copy link
Contributor

kloczek commented Aug 18, 2021

  • a detailed description of the bug or problem you are having
  • output of pip list from the virtual environment you are using
  • pytest and operating system versions
  • minimal example if possible

I'm trying to package your module as rpm packag. So I'm using typical in such case build, install and test cycle used on building package from non-root account:

  • "setup.py build"
  • "setup.py install --root </install/prefix>"
  • "pytest with PYTHONPATH pointing to sitearch and sitelib inside </install/prefix>

Looks lie when pytest-randomly random test units are failing. IIRC pytest-find-dependencies module may help diagnose that issue.
Temporary workaround: run selftest with -p no:randomly

Two examples of random fails:

+ cd pytest-6.2.4
+ PYTHONDONTWRITEBYTECODE=1
+ PATH=/home/tkloczko/rpmbuild/BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/bin:/usr/bin:/usr/sbin:/usr/local/sbin
+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages
+ /home/tkloczko/rpmbuild/BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/bin/pytest -ra -p no:flaky testing --timeout=30 --deselect testing/test_pastebin.py::TestPaste::test_create_new_paste --deselect testing/test_pastebin.py::TestPaste::test_create_new_paste_failure --deselect testing/test_pastebin.py::TestPaste::test_pastebin_http_error --deselect testing/test_pastebin.py::TestPaste::test_pastebin_invalid_url --deselect 'testing/test_pastebin.py::TestPaste::test_pastebin_invalid_url}'
=========================================================================== test session starts ============================================================================
platform linux -- Python 3.8.11, pytest-6.2.4, py-1.10.0, pluggy-0.13.1
benchmark: 3.4.1 (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)
Using --randomly-seed=2304116929
rootdir: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4, configfile: pyproject.toml, testpaths: testing
plugins: forked-1.3.0, shutil-1.7.0, virtualenv-1.7.0, expect-1.1.0, flake8-1.0.7, timeout-1.4.2, betamax-0.8.1, freezegun-0.4.2, aspectlib-1.5.2, toolbox-0.5, rerunfailures-9.1.1, requests-mock-1.9.3, cov-2.12.1, pyfakefs-4.5.0, benchmark-3.4.1, xdist-2.3.0, pylama-7.7.1, datadir-1.3.1, regressions-2.2.0, cases-3.6.3, xprocess-0.18.1, black-0.3.12, checkdocs-2.7.1, anyio-3.3.0, Faker-8.11.0, asyncio-0.15.1, trio-0.7.0, httpbin-1.0.0, subtests-0.5.0, isort-2.0.0, hypothesis-6.14.6, mock-3.6.1, profiling-1.7.0, randomly-3.8.0
timeout: 30.0s
timeout method: signal
timeout func_only: False
collected 3055 items / 4 deselected / 3051 selected

testing/test_recwarn.py ..                                                                                                                                           [  0%]
testing/test_reports.py .................                                                                                                                            [  0%]
testing/freeze/tests/test_trivial.py ..                                                                                                                              [  0%]
testing/test_assertrewrite.py ........................................                                                                                               [  1%]
testing/test_warning_types.py .                                                                                                                                      [  2%]
testing/test_runner_xunit.py .............                                                                                                                           [  2%]
testing/test_nodes.py ....                                                                                                                                           [  2%]
testing/deprecated_test.py .......                                                                                                                                   [  2%]
testing/test_pluginmanager.py .........                                                                                                                              [  3%]
testing/test_collection.py .                                                                                                                                         [  3%]
testing/test_runner.py .......x....................................                                                                                                  [  4%]
testing/python/raises.py .....................                                                                                                                       [  5%]
testing/test_pytester.py ......                                                                                                                                      [  5%]
testing/test_recwarn.py ......................................                                                                                                       [  6%]
testing/python/fixtures.py x.                                                                                                                                        [  6%]
testing/test_nose.py ss                                                                                                                                              [  6%]
testing/logging/test_reporting.py ..                                                                                                                                 [  6%]
testing/test_warnings.py .                                                                                                                                           [  6%]
testing/test_nodes.py ...........                                                                                                                                    [  7%]
testing/python/show_fixtures_per_test.py ......                                                                                                                      [  7%]
testing/acceptance_test.py ....                                                                                                                                      [  7%]
testing/test_collection.py .                                                                                                                                         [  7%]
testing/test_runner.py ..............                                                                                                                                [  8%]
testing/test_faulthandler.py .s...                                                                                                                                   [  8%]
testing/test_error_diffs.py ............                                                                                                                             [  8%]
testing/test_assertrewrite.py .......................................                                                                                                [  9%]
testing/test_debugging.py ............                                                                                                                               [ 10%]
testing/test_threadexception.py ....                                                                                                                                 [ 10%]
testing/test_main.py ............                                                                                                                                    [ 10%]
testing/test_cacheprovider.py ..................................................                                                                                     [ 12%]
testing/test_assertion.py ................................                                                                                                           [ 13%]
testing/test_session.py .......................                                                                                                                      [ 14%]
testing/test_pytester.py .....................                                                                                                                       [ 15%]
testing/test_store.py .                                                                                                                                              [ 15%]
testing/test_debugging.py ............................................                                                                                               [ 16%]
testing/test_pluginmanager.py ................                                                                                                                       [ 17%]
testing/test_capture.py ..x........................................                                                                                                  [ 18%]
testing/python/fixtures.py ......x...............                                                                                                                    [ 19%]
testing/test_unittest.py ..                                                                                                                                          [ 19%]
testing/code/test_source.py ......................................................                                                                                   [ 20%]
testing/logging/test_fixture.py .......                                                                                                                              [ 21%]
testing/python/raises.py ...                                                                                                                                         [ 21%]
testing/test_warnings.py ...............s.........s.s..                                                                                                              [ 22%]
testing/test_unittest.py ..............................s...................................                                                                          [ 24%]
testing/io/test_wcwidth.py .................                                                                                                                         [ 25%]
testing/io/test_saferepr.py ...........                                                                                                                              [ 25%]
testing/test_reports.py .                                                                                                                                            [ 25%]
testing/python/approx.py .................................................................                                                                           [ 27%]
testing/test_terminal.py ..                                                                                                                                          [ 27%]
testing/test_config.py ..                                                                                                                                            [ 27%]
testing/code/test_code.py .................                                                                                                                          [ 28%]
testing/test_parseopt.py .                                                                                                                                           [ 28%]
testing/test_tmpdir.py .......s..........                                                                                                                            [ 28%]
testing/test_capture.py ..............................................................s.                                                                             [ 30%]
testing/code/test_excinfo.py ..............................................................................................................................          [ 35%]
testing/test_stepwise.py ..........                                                                                                                                  [ 35%]
testing/test_assertion.py ..............................................................                                                                             [ 37%]
testing/test_config.py ................................................                                                                                              [ 39%]
testing/test_compat.py ...........                                                                                                                                   [ 39%]
testing/test_faulthandler.py ...                                                                                                                                     [ 39%]
testing/test_capture.py ........................                                                                                                                     [ 40%]
testing/test_compat.py ..                                                                                                                                            [ 40%]
testing/test_link_resolve.py .                                                                                                                                       [ 40%]
testing/test_main.py .....                                                                                                                                           [ 40%]
testing/test_mark.py ................                                                                                                                                [ 41%]
testing/python/metafunc.py ............................................................                                                                              [ 43%]
testing/test_conftest.py ...........                                                                                                                                 [ 43%]
testing/python/collect.py ..........................................................................                                                                 [ 45%]
testing/test_warning_types.py ...........                                                                                                                            [ 46%]
testing/python/collect.py ..                                                                                                                                         [ 46%]
testing/python/integration.py ....                                                                                                                                   [ 46%]
testing/logging/test_formatter.py ...                                                                                                                                [ 46%]
testing/test_pytester.py .......x...............                                                                                                                     [ 47%]
testing/test_compat.py .                                                                                                                                             [ 47%]
testing/test_monkeypatch.py ....                                                                                                                                     [ 47%]
testing/code/test_excinfo.py ...                                                                                                                                     [ 47%]
testing/test_warnings.py .........                                                                                                                                   [ 47%]
testing/test_assertion.py ............                                                                                                                               [ 48%]
testing/test_argcomplete.py ..                                                                                                                                       [ 48%]
testing/test_skipping.py .                                                                                                                                           [ 48%]
testing/test_pastebin.py ...                                                                                                                                         [ 48%]
testing/test_debugging.py ..                                                                                                                                         [ 48%]
testing/python/integration.py ................                                                                                                                       [ 48%]
testing/test_junitxml.py ............................................................................................................................                [ 52%]
testing/python/fixtures.py ......................................................................................................................................... [ 57%]
......................                                                                                                                                               [ 58%]
testing/acceptance_test.py ...............................                                                                                                           [ 59%]
testing/freeze/tests/test_doctest.txt .                                                                                                                              [ 59%]
testing/acceptance_test.py .................................x......                                                                                                  [ 60%]
testing/test_unraisableexception.py ....                                                                                                                             [ 60%]
testing/test_doctest.py ...........                                                                                                                                  [ 61%]
testing/test_terminal.py ..............................................................................................................                              [ 64%]
testing/test_helpconfig.py ..                                                                                                                                        [ 64%]
testing/deprecated_test.py .............                                                                                                                             [ 65%]
testing/test_skipping.py ....................................................................................                                                        [ 67%]
testing/test_monkeypatch.py ...............................                                                                                                          [ 68%]
testing/test_entry_points.py .                                                                                                                                       [ 68%]
testing/test_conftest.py .......s..................................                                                                                                  [ 70%]
testing/logging/test_reporting.py ......................................                                                                                             [ 71%]
testing/test_nose.py ssssssssssssssssss                                                                                                                              [ 72%]
testing/test_findpaths.py .............                                                                                                                              [ 72%]
testing/logging/test_fixture.py ........                                                                                                                             [ 72%]
testing/io/test_terminalwriter.py ...................................F.........                                                                                      [ 74%]
testing/test_assertrewrite.py .........                                                                                                                              [ 74%]
testing/python/approx.py .                                                                                                                                           [ 74%]
testing/python/metafunc.py .........................................                                                                                                 [ 76%]
testing/test_config.py ....................................................s...........x....................................................                         [ 79%]
testing/test_terminal.py ..E.EEEE.EEE.E.EEE..EEE.EE.E.E.EE.E.E.E                                                                                                     [ 81%]
testing/examples/test_issue519.py .                                                                                                                                  [ 81%]
testing/test_faulthandler.py ..                                                                                                                                      [ 81%]
testing/test_junitxml.py ....                                                                                                                                        [ 81%]
testing/test_tmpdir.py .................                                                                                                                             [ 81%]
testing/test_pathlib.py ...............................................................s                                                                             [ 84%]
testing/test_setuponly.py ..........................                                                                                                                 [ 84%]
testing/test_mark_expression.py ...................................................................................                                                  [ 87%]
testing/test_collection.py ...x...........................................................................                                                           [ 90%]
testing/test_setupplan.py ...                                                                                                                                        [ 90%]
testing/test_mark.py ...........x................................................................                                                                    [ 92%]
testing/python/collect.py .                                                                                                                                          [ 92%]
testing/test_helpconfig.py ........                                                                                                                                  [ 93%]
testing/test_parseopt.py ............................                                                                                                                [ 93%]
testing/test_meta.py ............................................................                                                                                    [ 95%]
testing/test_doctest.py .............................................x........................................................................                       [ 99%]
testing/acceptance_test.py ......                                                                                                                                    [100%]

================================================================================== ERRORS ==================================================================================
____________________________________________________ ERROR at setup of test_summary_stats[yellow-exp_line5-stats_arg5] _____________________________________________________

    @pytest.fixture(scope="session")
    def tr() -> TerminalReporter:
>       config = _pytest.config._prepareconfig()

testing/test_terminal.py:1700:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:318: in _prepareconfig
    config = pluginmanager.hook.pytest_cmdline_parse(
/usr/lib/python3.8/site-packages/pluggy/hooks.py:286: in __call__
    return self._hookexec(self, self.get_hookimpls(), kwargs)
/usr/lib/python3.8/site-packages/pluggy/manager.py:93: in _hookexec
    return self._inner_hookexec(hook, methods, kwargs)
/usr/lib/python3.8/site-packages/pluggy/manager.py:84: in <lambda>
    self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/helpconfig.py:100: in pytest_cmdline_parse
    config: Config = outcome.get_result()
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:1003: in pytest_cmdline_parse
    self.parse(args)
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:1288: in parse
    args = self._parser.parse_setoption(
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:135: in parse_setoption
    parsedoption = self.parse(args, namespace=namespace)
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:108: in parse
    return self.optparser.parse_args(strargs, namespace=namespace)
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:417: in parse_args
    self.error("\n".join(lines))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = MyOptionParser(prog='pytest', usage='%(prog)s [options] [file_or_dir] [file_or_dir] [...]', description=None, formatter_class=<class '_pytest.config.argparsing.DropShorterLongHelpFormatter'>, conflict_handler='error', add_help=False)
message = 'unrecognized arguments: --timeout=30\n  inifile: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4/pyproject.toml\n  rootdir: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4'

    def error(self, message: str) -> "NoReturn":
        """Transform argparse error message into UsageError."""
        msg = f"{self.prog}: error: {message}"

        if hasattr(self._parser, "_config_source_hint"):
            # Type ignored because the attribute is set dynamically.
            msg = f"{msg} ({self._parser._config_source_hint})"  # type: ignore

>       raise UsageError(self.format_usage() + msg)
E       _pytest.config.exceptions.UsageError: usage: pytest [options] [file_or_dir] [file_or_dir] [...]
E       pytest: error: unrecognized arguments: --timeout=30
E         inifile: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4/pyproject.toml
E         rootdir: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4

../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:401: UsageError
___________________________________________________ ERROR at setup of test_summary_stats[yellow-exp_line17-stats_arg17] ____________________________________________________

    @pytest.fixture(scope="session")
    def tr() -> TerminalReporter:
>       config = _pytest.config._prepareconfig()

testing/test_terminal.py:1700:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:318: in _prepareconfig
    config = pluginmanager.hook.pytest_cmdline_parse(
/usr/lib/python3.8/site-packages/pluggy/hooks.py:286: in __call__
    return self._hookexec(self, self.get_hookimpls(), kwargs)
/usr/lib/python3.8/site-packages/pluggy/manager.py:93: in _hookexec
    return self._inner_hookexec(hook, methods, kwargs)
/usr/lib/python3.8/site-packages/pluggy/manager.py:84: in <lambda>
    self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/helpconfig.py:100: in pytest_cmdline_parse
    config: Config = outcome.get_result()
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:1003: in pytest_cmdline_parse
    self.parse(args)
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:1288: in parse
    args = self._parser.parse_setoption(
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:135: in parse_setoption
    parsedoption = self.parse(args, namespace=namespace)
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:108: in parse
    return self.optparser.parse_args(strargs, namespace=namespace)
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:417: in parse_args
    self.error("\n".join(lines))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = MyOptionParser(prog='pytest', usage='%(prog)s [options] [file_or_dir] [file_or_dir] [...]', description=None, formatter_class=<class '_pytest.config.argparsing.DropShorterLongHelpFormatter'>, conflict_handler='error', add_help=False)
message = 'unrecognized arguments: --timeout=30\n  inifile: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4/pyproject.toml\n  rootdir: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4'

    def error(self, message: str) -> "NoReturn":
        """Transform argparse error message into UsageError."""
        msg = f"{self.prog}: error: {message}"

        if hasattr(self._parser, "_config_source_hint"):
            # Type ignored because the attribute is set dynamically.
            msg = f"{msg} ({self._parser._config_source_hint})"  # type: ignore

>       raise UsageError(self.format_usage() + msg)
E       _pytest.config.exceptions.UsageError: usage: pytest [options] [file_or_dir] [file_or_dir] [...]
E       pytest: error: unrecognized arguments: --timeout=30
E         inifile: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4/pyproject.toml
E         rootdir: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4

../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:401: UsageError
____________________________________________________ ERROR at setup of test_summary_stats[green-exp_line15-stats_arg15] ____________________________________________________

    @pytest.fixture(scope="session")
    def tr() -> TerminalReporter:
>       config = _pytest.config._prepareconfig()

testing/test_terminal.py:1700:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:318: in _prepareconfig
    config = pluginmanager.hook.pytest_cmdline_parse(
/usr/lib/python3.8/site-packages/pluggy/hooks.py:286: in __call__
    return self._hookexec(self, self.get_hookimpls(), kwargs)
/usr/lib/python3.8/site-packages/pluggy/manager.py:93: in _hookexec
    return self._inner_hookexec(hook, methods, kwargs)
/usr/lib/python3.8/site-packages/pluggy/manager.py:84: in <lambda>
    self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/helpconfig.py:100: in pytest_cmdline_parse
    config: Config = outcome.get_result()
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:1003: in pytest_cmdline_parse
    self.parse(args)
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:1288: in parse
    args = self._parser.parse_setoption(
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:135: in parse_setoption
    parsedoption = self.parse(args, namespace=namespace)
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:108: in parse
    return self.optparser.parse_args(strargs, namespace=namespace)
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:417: in parse_args
    self.error("\n".join(lines))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = MyOptionParser(prog='pytest', usage='%(prog)s [options] [file_or_dir] [file_or_dir] [...]', description=None, formatter_class=<class '_pytest.config.argparsing.DropShorterLongHelpFormatter'>, conflict_handler='error', add_help=False)
message = 'unrecognized arguments: --timeout=30\n  inifile: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4/pyproject.toml\n  rootdir: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4'

    def error(self, message: str) -> "NoReturn":
        """Transform argparse error message into UsageError."""
        msg = f"{self.prog}: error: {message}"

        if hasattr(self._parser, "_config_source_hint"):
            # Type ignored because the attribute is set dynamically.
            msg = f"{msg} ({self._parser._config_source_hint})"  # type: ignore

>       raise UsageError(self.format_usage() + msg)
E       _pytest.config.exceptions.UsageError: usage: pytest [options] [file_or_dir] [file_or_dir] [...]
E       pytest: error: unrecognized arguments: --timeout=30
E         inifile: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4/pyproject.toml
E         rootdir: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4

../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:401: UsageError
______________________________________________________ ERROR at setup of test_summary_stats[red-exp_line4-stats_arg4] ______________________________________________________

    @pytest.fixture(scope="session")
    def tr() -> TerminalReporter:
>       config = _pytest.config._prepareconfig()

testing/test_terminal.py:1700:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:318: in _prepareconfig
    config = pluginmanager.hook.pytest_cmdline_parse(
/usr/lib/python3.8/site-packages/pluggy/hooks.py:286: in __call__
    return self._hookexec(self, self.get_hookimpls(), kwargs)
/usr/lib/python3.8/site-packages/pluggy/manager.py:93: in _hookexec
    return self._inner_hookexec(hook, methods, kwargs)
/usr/lib/python3.8/site-packages/pluggy/manager.py:84: in <lambda>
    self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/helpconfig.py:100: in pytest_cmdline_parse
    config: Config = outcome.get_result()
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:1003: in pytest_cmdline_parse
    self.parse(args)
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:1288: in parse
    args = self._parser.parse_setoption(
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:135: in parse_setoption
    parsedoption = self.parse(args, namespace=namespace)
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:108: in parse
    return self.optparser.parse_args(strargs, namespace=namespace)
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:417: in parse_args
    self.error("\n".join(lines))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = MyOptionParser(prog='pytest', usage='%(prog)s [options] [file_or_dir] [file_or_dir] [...]', description=None, formatter_class=<class '_pytest.config.argparsing.DropShorterLongHelpFormatter'>, conflict_handler='error', add_help=False)
message = 'unrecognized arguments: --timeout=30\n  inifile: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4/pyproject.toml\n  rootdir: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4'

    def error(self, message: str) -> "NoReturn":
        """Transform argparse error message into UsageError."""
        msg = f"{self.prog}: error: {message}"

        if hasattr(self._parser, "_config_source_hint"):
            # Type ignored because the attribute is set dynamically.
            msg = f"{msg} ({self._parser._config_source_hint})"  # type: ignore

>       raise UsageError(self.format_usage() + msg)
E       _pytest.config.exceptions.UsageError: usage: pytest [options] [file_or_dir] [file_or_dir] [...]
E       pytest: error: unrecognized arguments: --timeout=30
E         inifile: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4/pyproject.toml
E         rootdir: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4

../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:401: UsageError
____________________________________________________ ERROR at setup of test_summary_stats[green-exp_line13-stats_arg13] ____________________________________________________

    @pytest.fixture(scope="session")
    def tr() -> TerminalReporter:
>       config = _pytest.config._prepareconfig()

testing/test_terminal.py:1700:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:318: in _prepareconfig
    config = pluginmanager.hook.pytest_cmdline_parse(
/usr/lib/python3.8/site-packages/pluggy/hooks.py:286: in __call__
    return self._hookexec(self, self.get_hookimpls(), kwargs)
/usr/lib/python3.8/site-packages/pluggy/manager.py:93: in _hookexec
    return self._inner_hookexec(hook, methods, kwargs)
/usr/lib/python3.8/site-packages/pluggy/manager.py:84: in <lambda>
    self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/helpconfig.py:100: in pytest_cmdline_parse
    config: Config = outcome.get_result()
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:1003: in pytest_cmdline_parse
    self.parse(args)
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:1288: in parse
    args = self._parser.parse_setoption(
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:135: in parse_setoption
    parsedoption = self.parse(args, namespace=namespace)
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:108: in parse
    return self.optparser.parse_args(strargs, namespace=namespace)
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:417: in parse_args
    self.error("\n".join(lines))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = MyOptionParser(prog='pytest', usage='%(prog)s [options] [file_or_dir] [file_or_dir] [...]', description=None, formatter_class=<class '_pytest.config.argparsing.DropShorterLongHelpFormatter'>, conflict_handler='error', add_help=False)
message = 'unrecognized arguments: --timeout=30\n  inifile: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4/pyproject.toml\n  rootdir: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4'

    def error(self, message: str) -> "NoReturn":
        """Transform argparse error message into UsageError."""
        msg = f"{self.prog}: error: {message}"

        if hasattr(self._parser, "_config_source_hint"):
            # Type ignored because the attribute is set dynamically.
            msg = f"{msg} ({self._parser._config_source_hint})"  # type: ignore

>       raise UsageError(self.format_usage() + msg)
E       _pytest.config.exceptions.UsageError: usage: pytest [options] [file_or_dir] [file_or_dir] [...]
E       pytest: error: unrecognized arguments: --timeout=30
E         inifile: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4/pyproject.toml
E         rootdir: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4

../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:401: UsageError
____________________________________________________ ERROR at setup of test_summary_stats[yellow-exp_line8-stats_arg8] _____________________________________________________

    @pytest.fixture(scope="session")
    def tr() -> TerminalReporter:
>       config = _pytest.config._prepareconfig()

testing/test_terminal.py:1700:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:318: in _prepareconfig
    config = pluginmanager.hook.pytest_cmdline_parse(
/usr/lib/python3.8/site-packages/pluggy/hooks.py:286: in __call__
    return self._hookexec(self, self.get_hookimpls(), kwargs)
/usr/lib/python3.8/site-packages/pluggy/manager.py:93: in _hookexec
    return self._inner_hookexec(hook, methods, kwargs)
/usr/lib/python3.8/site-packages/pluggy/manager.py:84: in <lambda>
    self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/helpconfig.py:100: in pytest_cmdline_parse
    config: Config = outcome.get_result()
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:1003: in pytest_cmdline_parse
    self.parse(args)
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:1288: in parse
    args = self._parser.parse_setoption(
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:135: in parse_setoption
    parsedoption = self.parse(args, namespace=namespace)
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:108: in parse
    return self.optparser.parse_args(strargs, namespace=namespace)
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:417: in parse_args
    self.error("\n".join(lines))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = MyOptionParser(prog='pytest', usage='%(prog)s [options] [file_or_dir] [file_or_dir] [...]', description=None, formatter_class=<class '_pytest.config.argparsing.DropShorterLongHelpFormatter'>, conflict_handler='error', add_help=False)
message = 'unrecognized arguments: --timeout=30\n  inifile: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4/pyproject.toml\n  rootdir: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4'

    def error(self, message: str) -> "NoReturn":
        """Transform argparse error message into UsageError."""
        msg = f"{self.prog}: error: {message}"

        if hasattr(self._parser, "_config_source_hint"):
            # Type ignored because the attribute is set dynamically.
            msg = f"{msg} ({self._parser._config_source_hint})"  # type: ignore

>       raise UsageError(self.format_usage() + msg)
E       _pytest.config.exceptions.UsageError: usage: pytest [options] [file_or_dir] [file_or_dir] [...]
E       pytest: error: unrecognized arguments: --timeout=30
E         inifile: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4/pyproject.toml
E         rootdir: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4

../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:401: UsageError
______________________________________________________ ERROR at setup of test_summary_stats[red-exp_line1-stats_arg1] ______________________________________________________

    @pytest.fixture(scope="session")
    def tr() -> TerminalReporter:
>       config = _pytest.config._prepareconfig()

testing/test_terminal.py:1700:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:318: in _prepareconfig
    config = pluginmanager.hook.pytest_cmdline_parse(
/usr/lib/python3.8/site-packages/pluggy/hooks.py:286: in __call__
    return self._hookexec(self, self.get_hookimpls(), kwargs)
/usr/lib/python3.8/site-packages/pluggy/manager.py:93: in _hookexec
    return self._inner_hookexec(hook, methods, kwargs)
/usr/lib/python3.8/site-packages/pluggy/manager.py:84: in <lambda>
    self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/helpconfig.py:100: in pytest_cmdline_parse
    config: Config = outcome.get_result()
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:1003: in pytest_cmdline_parse
    self.parse(args)
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:1288: in parse
    args = self._parser.parse_setoption(
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:135: in parse_setoption
    parsedoption = self.parse(args, namespace=namespace)
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:108: in parse
    return self.optparser.parse_args(strargs, namespace=namespace)
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:417: in parse_args
    self.error("\n".join(lines))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = MyOptionParser(prog='pytest', usage='%(prog)s [options] [file_or_dir] [file_or_dir] [...]', description=None, formatter_class=<class '_pytest.config.argparsing.DropShorterLongHelpFormatter'>, conflict_handler='error', add_help=False)
message = 'unrecognized arguments: --timeout=30\n  inifile: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4/pyproject.toml\n  rootdir: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4'

    def error(self, message: str) -> "NoReturn":
        """Transform argparse error message into UsageError."""
        msg = f"{self.prog}: error: {message}"

        if hasattr(self._parser, "_config_source_hint"):
            # Type ignored because the attribute is set dynamically.
            msg = f"{msg} ({self._parser._config_source_hint})"  # type: ignore

>       raise UsageError(self.format_usage() + msg)
E       _pytest.config.exceptions.UsageError: usage: pytest [options] [file_or_dir] [file_or_dir] [...]
E       pytest: error: unrecognized arguments: --timeout=30
E         inifile: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4/pyproject.toml
E         rootdir: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4

../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:401: UsageError
___________________________________________________ ERROR at setup of test_summary_stats[yellow-exp_line19-stats_arg19] ____________________________________________________

    @pytest.fixture(scope="session")
    def tr() -> TerminalReporter:
>       config = _pytest.config._prepareconfig()

testing/test_terminal.py:1700:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:318: in _prepareconfig
    config = pluginmanager.hook.pytest_cmdline_parse(
/usr/lib/python3.8/site-packages/pluggy/hooks.py:286: in __call__
    return self._hookexec(self, self.get_hookimpls(), kwargs)
/usr/lib/python3.8/site-packages/pluggy/manager.py:93: in _hookexec
    return self._inner_hookexec(hook, methods, kwargs)
/usr/lib/python3.8/site-packages/pluggy/manager.py:84: in <lambda>
    self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/helpconfig.py:100: in pytest_cmdline_parse
    config: Config = outcome.get_result()
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:1003: in pytest_cmdline_parse
    self.parse(args)
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:1288: in parse
    args = self._parser.parse_setoption(
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:135: in parse_setoption
    parsedoption = self.parse(args, namespace=namespace)
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:108: in parse
    return self.optparser.parse_args(strargs, namespace=namespace)
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:417: in parse_args
    self.error("\n".join(lines))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = MyOptionParser(prog='pytest', usage='%(prog)s [options] [file_or_dir] [file_or_dir] [...]', description=None, formatter_class=<class '_pytest.config.argparsing.DropShorterLongHelpFormatter'>, conflict_handler='error', add_help=False)
message = 'unrecognized arguments: --timeout=30\n  inifile: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4/pyproject.toml\n  rootdir: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4'

    def error(self, message: str) -> "NoReturn":
        """Transform argparse error message into UsageError."""
        msg = f"{self.prog}: error: {message}"

        if hasattr(self._parser, "_config_source_hint"):
            # Type ignored because the attribute is set dynamically.
            msg = f"{msg} ({self._parser._config_source_hint})"  # type: ignore

>       raise UsageError(self.format_usage() + msg)
E       _pytest.config.exceptions.UsageError: usage: pytest [options] [file_or_dir] [file_or_dir] [...]
E       pytest: error: unrecognized arguments: --timeout=30
E         inifile: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4/pyproject.toml
E         rootdir: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4

../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:401: UsageError
___________________________________________________ ERROR at setup of test_summary_stats[yellow-exp_line10-stats_arg10] ____________________________________________________

    @pytest.fixture(scope="session")
    def tr() -> TerminalReporter:
>       config = _pytest.config._prepareconfig()

testing/test_terminal.py:1700:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:318: in _prepareconfig
    config = pluginmanager.hook.pytest_cmdline_parse(
/usr/lib/python3.8/site-packages/pluggy/hooks.py:286: in __call__
    return self._hookexec(self, self.get_hookimpls(), kwargs)
/usr/lib/python3.8/site-packages/pluggy/manager.py:93: in _hookexec
    return self._inner_hookexec(hook, methods, kwargs)
/usr/lib/python3.8/site-packages/pluggy/manager.py:84: in <lambda>
    self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/helpconfig.py:100: in pytest_cmdline_parse
    config: Config = outcome.get_result()
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:1003: in pytest_cmdline_parse
    self.parse(args)
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:1288: in parse
    args = self._parser.parse_setoption(
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:135: in parse_setoption
    parsedoption = self.parse(args, namespace=namespace)
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:108: in parse
    return self.optparser.parse_args(strargs, namespace=namespace)
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:417: in parse_args
    self.error("\n".join(lines))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = MyOptionParser(prog='pytest', usage='%(prog)s [options] [file_or_dir] [file_or_dir] [...]', description=None, formatter_class=<class '_pytest.config.argparsing.DropShorterLongHelpFormatter'>, conflict_handler='error', add_help=False)
message = 'unrecognized arguments: --timeout=30\n  inifile: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4/pyproject.toml\n  rootdir: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4'

    def error(self, message: str) -> "NoReturn":
        """Transform argparse error message into UsageError."""
        msg = f"{self.prog}: error: {message}"

        if hasattr(self._parser, "_config_source_hint"):
            # Type ignored because the attribute is set dynamically.
            msg = f"{msg} ({self._parser._config_source_hint})"  # type: ignore

>       raise UsageError(self.format_usage() + msg)
E       _pytest.config.exceptions.UsageError: usage: pytest [options] [file_or_dir] [file_or_dir] [...]
E       pytest: error: unrecognized arguments: --timeout=30
E         inifile: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4/pyproject.toml
E         rootdir: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4

../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:401: UsageError
____________________________________________________ ERROR at setup of test_summary_stats[green-exp_line20-stats_arg20] ____________________________________________________

    @pytest.fixture(scope="session")
    def tr() -> TerminalReporter:
>       config = _pytest.config._prepareconfig()

testing/test_terminal.py:1700:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:318: in _prepareconfig
    config = pluginmanager.hook.pytest_cmdline_parse(
/usr/lib/python3.8/site-packages/pluggy/hooks.py:286: in __call__
    return self._hookexec(self, self.get_hookimpls(), kwargs)
/usr/lib/python3.8/site-packages/pluggy/manager.py:93: in _hookexec
    return self._inner_hookexec(hook, methods, kwargs)
/usr/lib/python3.8/site-packages/pluggy/manager.py:84: in <lambda>
    self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/helpconfig.py:100: in pytest_cmdline_parse
    config: Config = outcome.get_result()
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:1003: in pytest_cmdline_parse
    self.parse(args)
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:1288: in parse
    args = self._parser.parse_setoption(
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:135: in parse_setoption
    parsedoption = self.parse(args, namespace=namespace)
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:108: in parse
    return self.optparser.parse_args(strargs, namespace=namespace)
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:417: in parse_args
    self.error("\n".join(lines))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = MyOptionParser(prog='pytest', usage='%(prog)s [options] [file_or_dir] [file_or_dir] [...]', description=None, formatter_class=<class '_pytest.config.argparsing.DropShorterLongHelpFormatter'>, conflict_handler='error', add_help=False)
message = 'unrecognized arguments: --timeout=30\n  inifile: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4/pyproject.toml\n  rootdir: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4'

    def error(self, message: str) -> "NoReturn":
        """Transform argparse error message into UsageError."""
        msg = f"{self.prog}: error: {message}"

        if hasattr(self._parser, "_config_source_hint"):
            # Type ignored because the attribute is set dynamically.
            msg = f"{msg} ({self._parser._config_source_hint})"  # type: ignore

>       raise UsageError(self.format_usage() + msg)
E       _pytest.config.exceptions.UsageError: usage: pytest [options] [file_or_dir] [file_or_dir] [...]
E       pytest: error: unrecognized arguments: --timeout=30
E         inifile: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4/pyproject.toml
E         rootdir: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4

../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:401: UsageError
___________________________________________________ ERROR at setup of test_summary_stats[yellow-exp_line18-stats_arg18] ____________________________________________________

    @pytest.fixture(scope="session")
    def tr() -> TerminalReporter:
>       config = _pytest.config._prepareconfig()

testing/test_terminal.py:1700:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:318: in _prepareconfig
    config = pluginmanager.hook.pytest_cmdline_parse(
/usr/lib/python3.8/site-packages/pluggy/hooks.py:286: in __call__
    return self._hookexec(self, self.get_hookimpls(), kwargs)
/usr/lib/python3.8/site-packages/pluggy/manager.py:93: in _hookexec
    return self._inner_hookexec(hook, methods, kwargs)
/usr/lib/python3.8/site-packages/pluggy/manager.py:84: in <lambda>
    self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/helpconfig.py:100: in pytest_cmdline_parse
    config: Config = outcome.get_result()
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:1003: in pytest_cmdline_parse
    self.parse(args)
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:1288: in parse
    args = self._parser.parse_setoption(
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:135: in parse_setoption
    parsedoption = self.parse(args, namespace=namespace)
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:108: in parse
    return self.optparser.parse_args(strargs, namespace=namespace)
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:417: in parse_args
    self.error("\n".join(lines))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = MyOptionParser(prog='pytest', usage='%(prog)s [options] [file_or_dir] [file_or_dir] [...]', description=None, formatter_class=<class '_pytest.config.argparsing.DropShorterLongHelpFormatter'>, conflict_handler='error', add_help=False)
message = 'unrecognized arguments: --timeout=30\n  inifile: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4/pyproject.toml\n  rootdir: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4'

    def error(self, message: str) -> "NoReturn":
        """Transform argparse error message into UsageError."""
        msg = f"{self.prog}: error: {message}"

        if hasattr(self._parser, "_config_source_hint"):
            # Type ignored because the attribute is set dynamically.
            msg = f"{msg} ({self._parser._config_source_hint})"  # type: ignore

>       raise UsageError(self.format_usage() + msg)
E       _pytest.config.exceptions.UsageError: usage: pytest [options] [file_or_dir] [file_or_dir] [...]
E       pytest: error: unrecognized arguments: --timeout=30
E         inifile: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4/pyproject.toml
E         rootdir: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4

../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:401: UsageError
___________________________________________________ ERROR at setup of test_summary_stats[yellow-exp_line16-stats_arg16] ____________________________________________________

    @pytest.fixture(scope="session")
    def tr() -> TerminalReporter:
>       config = _pytest.config._prepareconfig()

testing/test_terminal.py:1700:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:318: in _prepareconfig
    config = pluginmanager.hook.pytest_cmdline_parse(
/usr/lib/python3.8/site-packages/pluggy/hooks.py:286: in __call__
    return self._hookexec(self, self.get_hookimpls(), kwargs)
/usr/lib/python3.8/site-packages/pluggy/manager.py:93: in _hookexec
    return self._inner_hookexec(hook, methods, kwargs)
/usr/lib/python3.8/site-packages/pluggy/manager.py:84: in <lambda>
    self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/helpconfig.py:100: in pytest_cmdline_parse
    config: Config = outcome.get_result()
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:1003: in pytest_cmdline_parse
    self.parse(args)
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:1288: in parse
    args = self._parser.parse_setoption(
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:135: in parse_setoption
    parsedoption = self.parse(args, namespace=namespace)
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:108: in parse
    return self.optparser.parse_args(strargs, namespace=namespace)
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:417: in parse_args
    self.error("\n".join(lines))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = MyOptionParser(prog='pytest', usage='%(prog)s [options] [file_or_dir] [file_or_dir] [...]', description=None, formatter_class=<class '_pytest.config.argparsing.DropShorterLongHelpFormatter'>, conflict_handler='error', add_help=False)
message = 'unrecognized arguments: --timeout=30\n  inifile: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4/pyproject.toml\n  rootdir: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4'

    def error(self, message: str) -> "NoReturn":
        """Transform argparse error message into UsageError."""
        msg = f"{self.prog}: error: {message}"

        if hasattr(self._parser, "_config_source_hint"):
            # Type ignored because the attribute is set dynamically.
            msg = f"{msg} ({self._parser._config_source_hint})"  # type: ignore

>       raise UsageError(self.format_usage() + msg)
E       _pytest.config.exceptions.UsageError: usage: pytest [options] [file_or_dir] [file_or_dir] [...]
E       pytest: error: unrecognized arguments: --timeout=30
E         inifile: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4/pyproject.toml
E         rootdir: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4

../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:401: UsageError
______________________________________________________ ERROR at setup of test_summary_stats[red-exp_line3-stats_arg3] ______________________________________________________

    @pytest.fixture(scope="session")
    def tr() -> TerminalReporter:
>       config = _pytest.config._prepareconfig()

testing/test_terminal.py:1700:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:318: in _prepareconfig
    config = pluginmanager.hook.pytest_cmdline_parse(
/usr/lib/python3.8/site-packages/pluggy/hooks.py:286: in __call__
    return self._hookexec(self, self.get_hookimpls(), kwargs)
/usr/lib/python3.8/site-packages/pluggy/manager.py:93: in _hookexec
    return self._inner_hookexec(hook, methods, kwargs)
/usr/lib/python3.8/site-packages/pluggy/manager.py:84: in <lambda>
    self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/helpconfig.py:100: in pytest_cmdline_parse
    config: Config = outcome.get_result()
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:1003: in pytest_cmdline_parse
    self.parse(args)
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:1288: in parse
    args = self._parser.parse_setoption(
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:135: in parse_setoption
    parsedoption = self.parse(args, namespace=namespace)
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:108: in parse
    return self.optparser.parse_args(strargs, namespace=namespace)
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:417: in parse_args
    self.error("\n".join(lines))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = MyOptionParser(prog='pytest', usage='%(prog)s [options] [file_or_dir] [file_or_dir] [...]', description=None, formatter_class=<class '_pytest.config.argparsing.DropShorterLongHelpFormatter'>, conflict_handler='error', add_help=False)
message = 'unrecognized arguments: --timeout=30\n  inifile: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4/pyproject.toml\n  rootdir: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4'

    def error(self, message: str) -> "NoReturn":
        """Transform argparse error message into UsageError."""
        msg = f"{self.prog}: error: {message}"

        if hasattr(self._parser, "_config_source_hint"):
            # Type ignored because the attribute is set dynamically.
            msg = f"{msg} ({self._parser._config_source_hint})"  # type: ignore

>       raise UsageError(self.format_usage() + msg)
E       _pytest.config.exceptions.UsageError: usage: pytest [options] [file_or_dir] [file_or_dir] [...]
E       pytest: error: unrecognized arguments: --timeout=30
E         inifile: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4/pyproject.toml
E         rootdir: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4

../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:401: UsageError
____________________________________________________ ERROR at setup of test_summary_stats[yellow-exp_line6-stats_arg6] _____________________________________________________

    @pytest.fixture(scope="session")
    def tr() -> TerminalReporter:
>       config = _pytest.config._prepareconfig()

testing/test_terminal.py:1700:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:318: in _prepareconfig
    config = pluginmanager.hook.pytest_cmdline_parse(
/usr/lib/python3.8/site-packages/pluggy/hooks.py:286: in __call__
    return self._hookexec(self, self.get_hookimpls(), kwargs)
/usr/lib/python3.8/site-packages/pluggy/manager.py:93: in _hookexec
    return self._inner_hookexec(hook, methods, kwargs)
/usr/lib/python3.8/site-packages/pluggy/manager.py:84: in <lambda>
    self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/helpconfig.py:100: in pytest_cmdline_parse
    config: Config = outcome.get_result()
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:1003: in pytest_cmdline_parse
    self.parse(args)
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:1288: in parse
    args = self._parser.parse_setoption(
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:135: in parse_setoption
    parsedoption = self.parse(args, namespace=namespace)
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:108: in parse
    return self.optparser.parse_args(strargs, namespace=namespace)
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:417: in parse_args
    self.error("\n".join(lines))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = MyOptionParser(prog='pytest', usage='%(prog)s [options] [file_or_dir] [file_or_dir] [...]', description=None, formatter_class=<class '_pytest.config.argparsing.DropShorterLongHelpFormatter'>, conflict_handler='error', add_help=False)
message = 'unrecognized arguments: --timeout=30\n  inifile: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4/pyproject.toml\n  rootdir: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4'

    def error(self, message: str) -> "NoReturn":
        """Transform argparse error message into UsageError."""
        msg = f"{self.prog}: error: {message}"

        if hasattr(self._parser, "_config_source_hint"):
            # Type ignored because the attribute is set dynamically.
            msg = f"{msg} ({self._parser._config_source_hint})"  # type: ignore

>       raise UsageError(self.format_usage() + msg)
E       _pytest.config.exceptions.UsageError: usage: pytest [options] [file_or_dir] [file_or_dir] [...]
E       pytest: error: unrecognized arguments: --timeout=30
E         inifile: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4/pyproject.toml
E         rootdir: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4

../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:401: UsageError
______________________________________________________ ERROR at setup of test_summary_stats[red-exp_line0-stats_arg0] ______________________________________________________

    @pytest.fixture(scope="session")
    def tr() -> TerminalReporter:
>       config = _pytest.config._prepareconfig()

testing/test_terminal.py:1700:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:318: in _prepareconfig
    config = pluginmanager.hook.pytest_cmdline_parse(
/usr/lib/python3.8/site-packages/pluggy/hooks.py:286: in __call__
    return self._hookexec(self, self.get_hookimpls(), kwargs)
/usr/lib/python3.8/site-packages/pluggy/manager.py:93: in _hookexec
    return self._inner_hookexec(hook, methods, kwargs)
/usr/lib/python3.8/site-packages/pluggy/manager.py:84: in <lambda>
    self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/helpconfig.py:100: in pytest_cmdline_parse
    config: Config = outcome.get_result()
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:1003: in pytest_cmdline_parse
    self.parse(args)
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:1288: in parse
    args = self._parser.parse_setoption(
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:135: in parse_setoption
    parsedoption = self.parse(args, namespace=namespace)
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:108: in parse
    return self.optparser.parse_args(strargs, namespace=namespace)
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:417: in parse_args
    self.error("\n".join(lines))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = MyOptionParser(prog='pytest', usage='%(prog)s [options] [file_or_dir] [file_or_dir] [...]', description=None, formatter_class=<class '_pytest.config.argparsing.DropShorterLongHelpFormatter'>, conflict_handler='error', add_help=False)
message = 'unrecognized arguments: --timeout=30\n  inifile: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4/pyproject.toml\n  rootdir: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4'

    def error(self, message: str) -> "NoReturn":
        """Transform argparse error message into UsageError."""
        msg = f"{self.prog}: error: {message}"

        if hasattr(self._parser, "_config_source_hint"):
            # Type ignored because the attribute is set dynamically.
            msg = f"{msg} ({self._parser._config_source_hint})"  # type: ignore

>       raise UsageError(self.format_usage() + msg)
E       _pytest.config.exceptions.UsageError: usage: pytest [options] [file_or_dir] [file_or_dir] [...]
E       pytest: error: unrecognized arguments: --timeout=30
E         inifile: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4/pyproject.toml
E         rootdir: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4

../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:401: UsageError
_____________________________________________________ ERROR at setup of test_summary_stats[green-exp_line9-stats_arg9] _____________________________________________________

    @pytest.fixture(scope="session")
    def tr() -> TerminalReporter:
>       config = _pytest.config._prepareconfig()

testing/test_terminal.py:1700:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:318: in _prepareconfig
    config = pluginmanager.hook.pytest_cmdline_parse(
/usr/lib/python3.8/site-packages/pluggy/hooks.py:286: in __call__
    return self._hookexec(self, self.get_hookimpls(), kwargs)
/usr/lib/python3.8/site-packages/pluggy/manager.py:93: in _hookexec
    return self._inner_hookexec(hook, methods, kwargs)
/usr/lib/python3.8/site-packages/pluggy/manager.py:84: in <lambda>
    self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/helpconfig.py:100: in pytest_cmdline_parse
    config: Config = outcome.get_result()
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:1003: in pytest_cmdline_parse
    self.parse(args)
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:1288: in parse
    args = self._parser.parse_setoption(
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:135: in parse_setoption
    parsedoption = self.parse(args, namespace=namespace)
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:108: in parse
    return self.optparser.parse_args(strargs, namespace=namespace)
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:417: in parse_args
    self.error("\n".join(lines))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = MyOptionParser(prog='pytest', usage='%(prog)s [options] [file_or_dir] [file_or_dir] [...]', description=None, formatter_class=<class '_pytest.config.argparsing.DropShorterLongHelpFormatter'>, conflict_handler='error', add_help=False)
message = 'unrecognized arguments: --timeout=30\n  inifile: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4/pyproject.toml\n  rootdir: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4'

    def error(self, message: str) -> "NoReturn":
        """Transform argparse error message into UsageError."""
        msg = f"{self.prog}: error: {message}"

        if hasattr(self._parser, "_config_source_hint"):
            # Type ignored because the attribute is set dynamically.
            msg = f"{msg} ({self._parser._config_source_hint})"  # type: ignore

>       raise UsageError(self.format_usage() + msg)
E       _pytest.config.exceptions.UsageError: usage: pytest [options] [file_or_dir] [file_or_dir] [...]
E       pytest: error: unrecognized arguments: --timeout=30
E         inifile: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4/pyproject.toml
E         rootdir: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4

../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:401: UsageError
___________________________________________________ ERROR at setup of test_summary_stats[yellow-exp_line14-stats_arg14] ____________________________________________________

    @pytest.fixture(scope="session")
    def tr() -> TerminalReporter:
>       config = _pytest.config._prepareconfig()

testing/test_terminal.py:1700:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:318: in _prepareconfig
    config = pluginmanager.hook.pytest_cmdline_parse(
/usr/lib/python3.8/site-packages/pluggy/hooks.py:286: in __call__
    return self._hookexec(self, self.get_hookimpls(), kwargs)
/usr/lib/python3.8/site-packages/pluggy/manager.py:93: in _hookexec
    return self._inner_hookexec(hook, methods, kwargs)
/usr/lib/python3.8/site-packages/pluggy/manager.py:84: in <lambda>
    self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/helpconfig.py:100: in pytest_cmdline_parse
    config: Config = outcome.get_result()
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:1003: in pytest_cmdline_parse
    self.parse(args)
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:1288: in parse
    args = self._parser.parse_setoption(
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:135: in parse_setoption
    parsedoption = self.parse(args, namespace=namespace)
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:108: in parse
    return self.optparser.parse_args(strargs, namespace=namespace)
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:417: in parse_args
    self.error("\n".join(lines))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = MyOptionParser(prog='pytest', usage='%(prog)s [options] [file_or_dir] [file_or_dir] [...]', description=None, formatter_class=<class '_pytest.config.argparsing.DropShorterLongHelpFormatter'>, conflict_handler='error', add_help=False)
message = 'unrecognized arguments: --timeout=30\n  inifile: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4/pyproject.toml\n  rootdir: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4'

    def error(self, message: str) -> "NoReturn":
        """Transform argparse error message into UsageError."""
        msg = f"{self.prog}: error: {message}"

        if hasattr(self._parser, "_config_source_hint"):
            # Type ignored because the attribute is set dynamically.
            msg = f"{msg} ({self._parser._config_source_hint})"  # type: ignore

>       raise UsageError(self.format_usage() + msg)
E       _pytest.config.exceptions.UsageError: usage: pytest [options] [file_or_dir] [file_or_dir] [...]
E       pytest: error: unrecognized arguments: --timeout=30
E         inifile: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4/pyproject.toml
E         rootdir: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4

../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:401: UsageError
___________________________________________________ ERROR at setup of test_summary_stats[yellow-exp_line12-stats_arg12] ____________________________________________________

    @pytest.fixture(scope="session")
    def tr() -> TerminalReporter:
>       config = _pytest.config._prepareconfig()

testing/test_terminal.py:1700:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:318: in _prepareconfig
    config = pluginmanager.hook.pytest_cmdline_parse(
/usr/lib/python3.8/site-packages/pluggy/hooks.py:286: in __call__
    return self._hookexec(self, self.get_hookimpls(), kwargs)
/usr/lib/python3.8/site-packages/pluggy/manager.py:93: in _hookexec
    return self._inner_hookexec(hook, methods, kwargs)
/usr/lib/python3.8/site-packages/pluggy/manager.py:84: in <lambda>
    self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/helpconfig.py:100: in pytest_cmdline_parse
    config: Config = outcome.get_result()
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:1003: in pytest_cmdline_parse
    self.parse(args)
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:1288: in parse
    args = self._parser.parse_setoption(
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:135: in parse_setoption
    parsedoption = self.parse(args, namespace=namespace)
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:108: in parse
    return self.optparser.parse_args(strargs, namespace=namespace)
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:417: in parse_args
    self.error("\n".join(lines))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = MyOptionParser(prog='pytest', usage='%(prog)s [options] [file_or_dir] [file_or_dir] [...]', description=None, formatter_class=<class '_pytest.config.argparsing.DropShorterLongHelpFormatter'>, conflict_handler='error', add_help=False)
message = 'unrecognized arguments: --timeout=30\n  inifile: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4/pyproject.toml\n  rootdir: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4'

    def error(self, message: str) -> "NoReturn":
        """Transform argparse error message into UsageError."""
        msg = f"{self.prog}: error: {message}"

        if hasattr(self._parser, "_config_source_hint"):
            # Type ignored because the attribute is set dynamically.
            msg = f"{msg} ({self._parser._config_source_hint})"  # type: ignore

>       raise UsageError(self.format_usage() + msg)
E       _pytest.config.exceptions.UsageError: usage: pytest [options] [file_or_dir] [file_or_dir] [...]
E       pytest: error: unrecognized arguments: --timeout=30
E         inifile: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4/pyproject.toml
E         rootdir: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4

../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:401: UsageError
____________________________________________________ ERROR at setup of test_summary_stats[green-exp_line11-stats_arg11] ____________________________________________________

    @pytest.fixture(scope="session")
    def tr() -> TerminalReporter:
>       config = _pytest.config._prepareconfig()

testing/test_terminal.py:1700:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:318: in _prepareconfig
    config = pluginmanager.hook.pytest_cmdline_parse(
/usr/lib/python3.8/site-packages/pluggy/hooks.py:286: in __call__
    return self._hookexec(self, self.get_hookimpls(), kwargs)
/usr/lib/python3.8/site-packages/pluggy/manager.py:93: in _hookexec
    return self._inner_hookexec(hook, methods, kwargs)
/usr/lib/python3.8/site-packages/pluggy/manager.py:84: in <lambda>
    self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/helpconfig.py:100: in pytest_cmdline_parse
    config: Config = outcome.get_result()
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:1003: in pytest_cmdline_parse
    self.parse(args)
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:1288: in parse
    args = self._parser.parse_setoption(
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:135: in parse_setoption
    parsedoption = self.parse(args, namespace=namespace)
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:108: in parse
    return self.optparser.parse_args(strargs, namespace=namespace)
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:417: in parse_args
    self.error("\n".join(lines))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = MyOptionParser(prog='pytest', usage='%(prog)s [options] [file_or_dir] [file_or_dir] [...]', description=None, formatter_class=<class '_pytest.config.argparsing.DropShorterLongHelpFormatter'>, conflict_handler='error', add_help=False)
message = 'unrecognized arguments: --timeout=30\n  inifile: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4/pyproject.toml\n  rootdir: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4'

    def error(self, message: str) -> "NoReturn":
        """Transform argparse error message into UsageError."""
        msg = f"{self.prog}: error: {message}"

        if hasattr(self._parser, "_config_source_hint"):
            # Type ignored because the attribute is set dynamically.
            msg = f"{msg} ({self._parser._config_source_hint})"  # type: ignore

>       raise UsageError(self.format_usage() + msg)
E       _pytest.config.exceptions.UsageError: usage: pytest [options] [file_or_dir] [file_or_dir] [...]
E       pytest: error: unrecognized arguments: --timeout=30
E         inifile: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4/pyproject.toml
E         rootdir: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4

../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:401: UsageError
____________________________________________________ ERROR at setup of test_summary_stats[green-exp_line22-stats_arg22] ____________________________________________________

    @pytest.fixture(scope="session")
    def tr() -> TerminalReporter:
>       config = _pytest.config._prepareconfig()

testing/test_terminal.py:1700:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:318: in _prepareconfig
    config = pluginmanager.hook.pytest_cmdline_parse(
/usr/lib/python3.8/site-packages/pluggy/hooks.py:286: in __call__
    return self._hookexec(self, self.get_hookimpls(), kwargs)
/usr/lib/python3.8/site-packages/pluggy/manager.py:93: in _hookexec
    return self._inner_hookexec(hook, methods, kwargs)
/usr/lib/python3.8/site-packages/pluggy/manager.py:84: in <lambda>
    self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/helpconfig.py:100: in pytest_cmdline_parse
    config: Config = outcome.get_result()
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:1003: in pytest_cmdline_parse
    self.parse(args)
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:1288: in parse
    args = self._parser.parse_setoption(
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:135: in parse_setoption
    parsedoption = self.parse(args, namespace=namespace)
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:108: in parse
    return self.optparser.parse_args(strargs, namespace=namespace)
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:417: in parse_args
    self.error("\n".join(lines))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = MyOptionParser(prog='pytest', usage='%(prog)s [options] [file_or_dir] [file_or_dir] [...]', description=None, formatter_class=<class '_pytest.config.argparsing.DropShorterLongHelpFormatter'>, conflict_handler='error', add_help=False)
message = 'unrecognized arguments: --timeout=30\n  inifile: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4/pyproject.toml\n  rootdir: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4'

    def error(self, message: str) -> "NoReturn":
        """Transform argparse error message into UsageError."""
        msg = f"{self.prog}: error: {message}"

        if hasattr(self._parser, "_config_source_hint"):
            # Type ignored because the attribute is set dynamically.
            msg = f"{msg} ({self._parser._config_source_hint})"  # type: ignore

>       raise UsageError(self.format_usage() + msg)
E       _pytest.config.exceptions.UsageError: usage: pytest [options] [file_or_dir] [file_or_dir] [...]
E       pytest: error: unrecognized arguments: --timeout=30
E         inifile: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4/pyproject.toml
E         rootdir: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4

../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:401: UsageError
___________________________________________________________ ERROR at setup of test_skip_counting_towards_summary ___________________________________________________________

    @pytest.fixture(scope="session")
    def tr() -> TerminalReporter:
>       config = _pytest.config._prepareconfig()

testing/test_terminal.py:1700:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:318: in _prepareconfig
    config = pluginmanager.hook.pytest_cmdline_parse(
/usr/lib/python3.8/site-packages/pluggy/hooks.py:286: in __call__
    return self._hookexec(self, self.get_hookimpls(), kwargs)
/usr/lib/python3.8/site-packages/pluggy/manager.py:93: in _hookexec
    return self._inner_hookexec(hook, methods, kwargs)
/usr/lib/python3.8/site-packages/pluggy/manager.py:84: in <lambda>
    self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/helpconfig.py:100: in pytest_cmdline_parse
    config: Config = outcome.get_result()
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:1003: in pytest_cmdline_parse
    self.parse(args)
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:1288: in parse
    args = self._parser.parse_setoption(
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:135: in parse_setoption
    parsedoption = self.parse(args, namespace=namespace)
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:108: in parse
    return self.optparser.parse_args(strargs, namespace=namespace)
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:417: in parse_args
    self.error("\n".join(lines))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = MyOptionParser(prog='pytest', usage='%(prog)s [options] [file_or_dir] [file_or_dir] [...]', description=None, formatter_class=<class '_pytest.config.argparsing.DropShorterLongHelpFormatter'>, conflict_handler='error', add_help=False)
message = 'unrecognized arguments: --timeout=30\n  inifile: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4/pyproject.toml\n  rootdir: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4'

    def error(self, message: str) -> "NoReturn":
        """Transform argparse error message into UsageError."""
        msg = f"{self.prog}: error: {message}"

        if hasattr(self._parser, "_config_source_hint"):
            # Type ignored because the attribute is set dynamically.
            msg = f"{msg} ({self._parser._config_source_hint})"  # type: ignore

>       raise UsageError(self.format_usage() + msg)
E       _pytest.config.exceptions.UsageError: usage: pytest [options] [file_or_dir] [file_or_dir] [...]
E       pytest: error: unrecognized arguments: --timeout=30
E         inifile: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4/pyproject.toml
E         rootdir: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4

../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:401: UsageError
_____________________________________________________ ERROR at setup of test_summary_stats[red-exp_line21-stats_arg21] _____________________________________________________

    @pytest.fixture(scope="session")
    def tr() -> TerminalReporter:
>       config = _pytest.config._prepareconfig()

testing/test_terminal.py:1700:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:318: in _prepareconfig
    config = pluginmanager.hook.pytest_cmdline_parse(
/usr/lib/python3.8/site-packages/pluggy/hooks.py:286: in __call__
    return self._hookexec(self, self.get_hookimpls(), kwargs)
/usr/lib/python3.8/site-packages/pluggy/manager.py:93: in _hookexec
    return self._inner_hookexec(hook, methods, kwargs)
/usr/lib/python3.8/site-packages/pluggy/manager.py:84: in <lambda>
    self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/helpconfig.py:100: in pytest_cmdline_parse
    config: Config = outcome.get_result()
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:1003: in pytest_cmdline_parse
    self.parse(args)
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:1288: in parse
    args = self._parser.parse_setoption(
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:135: in parse_setoption
    parsedoption = self.parse(args, namespace=namespace)
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:108: in parse
    return self.optparser.parse_args(strargs, namespace=namespace)
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:417: in parse_args
    self.error("\n".join(lines))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = MyOptionParser(prog='pytest', usage='%(prog)s [options] [file_or_dir] [file_or_dir] [...]', description=None, formatter_class=<class '_pytest.config.argparsing.DropShorterLongHelpFormatter'>, conflict_handler='error', add_help=False)
message = 'unrecognized arguments: --timeout=30\n  inifile: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4/pyproject.toml\n  rootdir: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4'

    def error(self, message: str) -> "NoReturn":
        """Transform argparse error message into UsageError."""
        msg = f"{self.prog}: error: {message}"

        if hasattr(self._parser, "_config_source_hint"):
            # Type ignored because the attribute is set dynamically.
            msg = f"{msg} ({self._parser._config_source_hint})"  # type: ignore

>       raise UsageError(self.format_usage() + msg)
E       _pytest.config.exceptions.UsageError: usage: pytest [options] [file_or_dir] [file_or_dir] [...]
E       pytest: error: unrecognized arguments: --timeout=30
E         inifile: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4/pyproject.toml
E         rootdir: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4

../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:401: UsageError
____________________________________________________ ERROR at setup of test_summary_stats[yellow-exp_line7-stats_arg7] _____________________________________________________

    @pytest.fixture(scope="session")
    def tr() -> TerminalReporter:
>       config = _pytest.config._prepareconfig()

testing/test_terminal.py:1700:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:318: in _prepareconfig
    config = pluginmanager.hook.pytest_cmdline_parse(
/usr/lib/python3.8/site-packages/pluggy/hooks.py:286: in __call__
    return self._hookexec(self, self.get_hookimpls(), kwargs)
/usr/lib/python3.8/site-packages/pluggy/manager.py:93: in _hookexec
    return self._inner_hookexec(hook, methods, kwargs)
/usr/lib/python3.8/site-packages/pluggy/manager.py:84: in <lambda>
    self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/helpconfig.py:100: in pytest_cmdline_parse
    config: Config = outcome.get_result()
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:1003: in pytest_cmdline_parse
    self.parse(args)
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:1288: in parse
    args = self._parser.parse_setoption(
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:135: in parse_setoption
    parsedoption = self.parse(args, namespace=namespace)
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:108: in parse
    return self.optparser.parse_args(strargs, namespace=namespace)
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:417: in parse_args
    self.error("\n".join(lines))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = MyOptionParser(prog='pytest', usage='%(prog)s [options] [file_or_dir] [file_or_dir] [...]', description=None, formatter_class=<class '_pytest.config.argparsing.DropShorterLongHelpFormatter'>, conflict_handler='error', add_help=False)
message = 'unrecognized arguments: --timeout=30\n  inifile: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4/pyproject.toml\n  rootdir: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4'

    def error(self, message: str) -> "NoReturn":
        """Transform argparse error message into UsageError."""
        msg = f"{self.prog}: error: {message}"

        if hasattr(self._parser, "_config_source_hint"):
            # Type ignored because the attribute is set dynamically.
            msg = f"{msg} ({self._parser._config_source_hint})"  # type: ignore

>       raise UsageError(self.format_usage() + msg)
E       _pytest.config.exceptions.UsageError: usage: pytest [options] [file_or_dir] [file_or_dir] [...]
E       pytest: error: unrecognized arguments: --timeout=30
E         inifile: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4/pyproject.toml
E         rootdir: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4

../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:401: UsageError
______________________________________________________ ERROR at setup of test_summary_stats[red-exp_line2-stats_arg2] ______________________________________________________

    @pytest.fixture(scope="session")
    def tr() -> TerminalReporter:
>       config = _pytest.config._prepareconfig()

testing/test_terminal.py:1700:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:318: in _prepareconfig
    config = pluginmanager.hook.pytest_cmdline_parse(
/usr/lib/python3.8/site-packages/pluggy/hooks.py:286: in __call__
    return self._hookexec(self, self.get_hookimpls(), kwargs)
/usr/lib/python3.8/site-packages/pluggy/manager.py:93: in _hookexec
    return self._inner_hookexec(hook, methods, kwargs)
/usr/lib/python3.8/site-packages/pluggy/manager.py:84: in <lambda>
    self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/helpconfig.py:100: in pytest_cmdline_parse
    config: Config = outcome.get_result()
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:1003: in pytest_cmdline_parse
    self.parse(args)
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/__init__.py:1288: in parse
    args = self._parser.parse_setoption(
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:135: in parse_setoption
    parsedoption = self.parse(args, namespace=namespace)
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:108: in parse
    return self.optparser.parse_args(strargs, namespace=namespace)
../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:417: in parse_args
    self.error("\n".join(lines))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = MyOptionParser(prog='pytest', usage='%(prog)s [options] [file_or_dir] [file_or_dir] [...]', description=None, formatter_class=<class '_pytest.config.argparsing.DropShorterLongHelpFormatter'>, conflict_handler='error', add_help=False)
message = 'unrecognized arguments: --timeout=30\n  inifile: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4/pyproject.toml\n  rootdir: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4'

    def error(self, message: str) -> "NoReturn":
        """Transform argparse error message into UsageError."""
        msg = f"{self.prog}: error: {message}"

        if hasattr(self._parser, "_config_source_hint"):
            # Type ignored because the attribute is set dynamically.
            msg = f"{msg} ({self._parser._config_source_hint})"  # type: ignore

>       raise UsageError(self.format_usage() + msg)
E       _pytest.config.exceptions.UsageError: usage: pytest [options] [file_or_dir] [file_or_dir] [...]
E       pytest: error: unrecognized arguments: --timeout=30
E         inifile: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4/pyproject.toml
E         rootdir: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4

../../BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/config/argparsing.py:401: UsageError
================================================================================= FAILURES =================================================================================
____________________________________________________________________ test_should_do_markup_FORCE_COLOR _____________________________________________________________________

monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f03f421e7c0>

    def test_should_do_markup_FORCE_COLOR(monkeypatch: MonkeyPatch) -> None:
        monkeypatch.setitem(os.environ, "FORCE_COLOR", "1")
>       assert_color_set()

testing/io/test_terminalwriter.py:204:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    def assert_color_set():
        file = io.StringIO()
        tw = terminalwriter.TerminalWriter(file)
>       assert tw.hasmarkup
E       assert False
E        +  where False = <_pytest._io.terminalwriter.TerminalWriter object at 0x7f03f421e3a0>.hasmarkup

testing/io/test_terminalwriter.py:169: AssertionError
============================================================================= warnings summary =============================================================================
testing/test_junitxml.py::test_runs_twice_xdist
testing/test_junitxml.py::test_random_report_log_xdist
testing/test_terminal.py::TestProgressOutputStyle::test_xdist_normal
testing/test_terminal.py::TestProgressOutputStyle::test_xdist_normal_count
testing/test_terminal.py::TestProgressOutputStyle::test_xdist_verbose
testing/test_terminal.py::TestTerminalFunctional::test_verbose_reporting_xdist
testing/test_terminal.py::TestProgressWithTeardown::test_xdist_normal
  /usr/lib/python3.8/site-packages/pytest_benchmark/logger.py:46: PytestBenchmarkWarning: Benchmarks are automatically disabled because xdist plugin is active.Benchmarks cannot be performed reliably in a parallelized environment.
    warner(PytestBenchmarkWarning(text))

-- Docs: https://docs.pytest.org/en/stable/warnings.html
========================================================================= short test summary info ==========================================================================
SKIPPED [20] testing/test_nose.py:6: could not import 'nose': No module named 'nose'
SKIPPED [1] testing/test_faulthandler.py:52: sometimes crashes on CI (#7022)
SKIPPED [3] testing/test_warnings.py:514: This test should be enabled again before pytest 7.0 is released
SKIPPED [1] testing/test_unittest.py:1235: could not import 'asynctest': No module named 'asynctest'
SKIPPED [1] testing/test_tmpdir.py:238: win only
SKIPPED [1] testing/test_capture.py:1433: only on windows
SKIPPED [1] testing/test_conftest.py:291: only relevant for case insensitive file systems
SKIPPED [1] testing/test_config.py:1790: does not work with xdist currently
SKIPPED [1] testing/test_pathlib.py:420: Windows only
XFAIL testing/test_runner.py::test_runtest_in_module_ordering
XFAIL testing/python/fixtures.py::TestRequestBasic::test_request_garbage
  reason: this test is flaky when executed with xdist
XFAIL testing/test_capture.py::TestPerTestCapturing::test_capture_scope_cache
  unimplemented feature
XFAIL testing/python/fixtures.py::TestAutouseDiscovery::test_setup_enabled_functionnode
  'enabled' feature not implemented
XFAIL testing/test_pytester.py::test_make_hook_recorder
  reason: internal reportrecorder tests need refactoring
XFAIL testing/acceptance_test.py::TestInvocationVariants::test_noclass_discovery_if_not_testcase
  decide: feature or bug
XFAIL testing/test_config.py::TestParseIni::test_confcutdir
  probably not needed
XFAIL testing/test_collection.py::TestPrunetraceback::test_collect_report_postprocessing
  other mechanism for adding to reporting needed
XFAIL testing/test_mark.py::TestKeywordSelection::test_keyword_extra_dash
XFAIL testing/test_doctest.py::TestLiterals::test_number_non_matches['3.1416'-'3.14']
ERROR testing/test_terminal.py::test_summary_stats[yellow-exp_line5-stats_arg5] - _pytest.config.exceptions.UsageError: usage: pytest [options] [file_or_dir] [file_or_di...
ERROR testing/test_terminal.py::test_summary_stats[yellow-exp_line17-stats_arg17] - _pytest.config.exceptions.UsageError: usage: pytest [options] [file_or_dir] [file_or_...
ERROR testing/test_terminal.py::test_summary_stats[green-exp_line15-stats_arg15] - _pytest.config.exceptions.UsageError: usage: pytest [options] [file_or_dir] [file_or_d...
ERROR testing/test_terminal.py::test_summary_stats[red-exp_line4-stats_arg4] - _pytest.config.exceptions.UsageError: usage: pytest [options] [file_or_dir] [file_or_dir] ...
ERROR testing/test_terminal.py::test_summary_stats[green-exp_line13-stats_arg13] - _pytest.config.exceptions.UsageError: usage: pytest [options] [file_or_dir] [file_or_d...
ERROR testing/test_terminal.py::test_summary_stats[yellow-exp_line8-stats_arg8] - _pytest.config.exceptions.UsageError: usage: pytest [options] [file_or_dir] [file_or_di...
ERROR testing/test_terminal.py::test_summary_stats[red-exp_line1-stats_arg1] - _pytest.config.exceptions.UsageError: usage: pytest [options] [file_or_dir] [file_or_dir] ...
ERROR testing/test_terminal.py::test_summary_stats[yellow-exp_line19-stats_arg19] - _pytest.config.exceptions.UsageError: usage: pytest [options] [file_or_dir] [file_or_...
ERROR testing/test_terminal.py::test_summary_stats[yellow-exp_line10-stats_arg10] - _pytest.config.exceptions.UsageError: usage: pytest [options] [file_or_dir] [file_or_...
ERROR testing/test_terminal.py::test_summary_stats[green-exp_line20-stats_arg20] - _pytest.config.exceptions.UsageError: usage: pytest [options] [file_or_dir] [file_or_d...
ERROR testing/test_terminal.py::test_summary_stats[yellow-exp_line18-stats_arg18] - _pytest.config.exceptions.UsageError: usage: pytest [options] [file_or_dir] [file_or_...
ERROR testing/test_terminal.py::test_summary_stats[yellow-exp_line16-stats_arg16] - _pytest.config.exceptions.UsageError: usage: pytest [options] [file_or_dir] [file_or_...
ERROR testing/test_terminal.py::test_summary_stats[red-exp_line3-stats_arg3] - _pytest.config.exceptions.UsageError: usage: pytest [options] [file_or_dir] [file_or_dir] ...
ERROR testing/test_terminal.py::test_summary_stats[yellow-exp_line6-stats_arg6] - _pytest.config.exceptions.UsageError: usage: pytest [options] [file_or_dir] [file_or_di...
ERROR testing/test_terminal.py::test_summary_stats[red-exp_line0-stats_arg0] - _pytest.config.exceptions.UsageError: usage: pytest [options] [file_or_dir] [file_or_dir] ...
ERROR testing/test_terminal.py::test_summary_stats[green-exp_line9-stats_arg9] - _pytest.config.exceptions.UsageError: usage: pytest [options] [file_or_dir] [file_or_dir...
ERROR testing/test_terminal.py::test_summary_stats[yellow-exp_line14-stats_arg14] - _pytest.config.exceptions.UsageError: usage: pytest [options] [file_or_dir] [file_or_...
ERROR testing/test_terminal.py::test_summary_stats[yellow-exp_line12-stats_arg12] - _pytest.config.exceptions.UsageError: usage: pytest [options] [file_or_dir] [file_or_...
ERROR testing/test_terminal.py::test_summary_stats[green-exp_line11-stats_arg11] - _pytest.config.exceptions.UsageError: usage: pytest [options] [file_or_dir] [file_or_d...
ERROR testing/test_terminal.py::test_summary_stats[green-exp_line22-stats_arg22] - _pytest.config.exceptions.UsageError: usage: pytest [options] [file_or_dir] [file_or_d...
ERROR testing/test_terminal.py::test_skip_counting_towards_summary - _pytest.config.exceptions.UsageError: usage: pytest [options] [file_or_dir] [file_or_dir] [...]
ERROR testing/test_terminal.py::test_summary_stats[red-exp_line21-stats_arg21] - _pytest.config.exceptions.UsageError: usage: pytest [options] [file_or_dir] [file_or_dir...
ERROR testing/test_terminal.py::test_summary_stats[yellow-exp_line7-stats_arg7] - _pytest.config.exceptions.UsageError: usage: pytest [options] [file_or_dir] [file_or_di...
ERROR testing/test_terminal.py::test_summary_stats[red-exp_line2-stats_arg2] - _pytest.config.exceptions.UsageError: usage: pytest [options] [file_or_dir] [file_or_dir] ...
FAILED testing/io/test_terminalwriter.py::test_should_do_markup_FORCE_COLOR - assert False
================================= 1 failed, 2986 passed, 30 skipped, 4 deselected, 10 xfailed, 7 warnings, 24 errors in 237.57s (0:03:57) ==================================
pytest-xprocess reminder::Be sure to terminate the started process by running 'pytest --xkill' if you have not explicitly done so in your fixture with 'xprocess.getinfo(<process_name>).terminate()'.
/home/tkloczko/rpmbuild/BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/pathlib.py:80: PytestWarning: (rm_rf) error removing /tmp/pytest-of-tkloczko/garbage-0361fac0-c904-4898-96b7-aec4e76515a4/test_safe_get_no_perms0
<class 'OSError'>: [Errno 39] Directory not empty: 'test_safe_get_no_perms0'
  warnings.warn(
/home/tkloczko/rpmbuild/BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/pathlib.py:80: PytestWarning: (rm_rf) error removing /tmp/pytest-of-tkloczko/garbage-0361fac0-c904-4898-96b7-aec4e76515a4/test_safe_delete_no_perms0
<class 'OSError'>: [Errno 39] Directory not empty: 'test_safe_delete_no_perms0'
  warnings.warn(
/home/tkloczko/rpmbuild/BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/pathlib.py:80: PytestWarning: (rm_rf) error removing /tmp/pytest-of-tkloczko/garbage-0361fac0-c904-4898-96b7-aec4e76515a4/test_safe_set_no_perms0
<class 'OSError'>: [Errno 39] Directory not empty: 'test_safe_set_no_perms0'
  warnings.warn(
/home/tkloczko/rpmbuild/BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/pathlib.py:80: PytestWarning: (rm_rf) error removing /tmp/pytest-of-tkloczko/garbage-0361fac0-c904-4898-96b7-aec4e76515a4/test_rmtree_errorhandler_rerai0
<class 'OSError'>: [Errno 39] Directory not empty: 'test_rmtree_errorhandler_rerai0'
  warnings.warn(
/home/tkloczko/rpmbuild/BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/pathlib.py:80: PytestWarning: (rm_rf) error removing /tmp/pytest-of-tkloczko/garbage-0361fac0-c904-4898-96b7-aec4e76515a4/test_rmtree_errorhandler_reado0
<class 'OSError'>: [Errno 39] Directory not empty: 'test_rmtree_errorhandler_reado0'
  warnings.warn(
/home/tkloczko/rpmbuild/BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/pathlib.py:80: PytestWarning: (rm_rf) error removing /tmp/pytest-of-tkloczko/garbage-0361fac0-c904-4898-96b7-aec4e76515a4
<class 'OSError'>: [Errno 39] Directory not empty: '/tmp/pytest-of-tkloczko/garbage-0361fac0-c904-4898-96b7-aec4e76515a4'
  warnings.warn(
+ cd pytest-6.2.4
+ PYTHONDONTWRITEBYTECODE=1
+ PATH=/home/tkloczko/rpmbuild/BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/bin:/usr/bin:/usr/sbin:/usr/local/sbin
+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages
+ /home/tkloczko/rpmbuild/BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/bin/pytest -ra -p no:flaky testing --timeout=30 --deselect testing/test_pastebin.py::TestPaste::test_create_new_paste --deselect testing/test_pastebin.py::TestPaste::test_create_new_paste_failure --deselect testing/test_pastebin.py::TestPaste::test_pastebin_http_error --deselect testing/test_pastebin.py::TestPaste::test_pastebin_invalid_url --deselect 'testing/test_pastebin.py::TestPaste::test_pastebin_invalid_url}'
=========================================================================== test session starts ============================================================================
platform linux -- Python 3.8.11, pytest-6.2.4, py-1.10.0, pluggy-0.13.1
benchmark: 3.4.1 (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)
Using --randomly-seed=703601668
rootdir: /home/tkloczko/rpmbuild/BUILD/pytest-6.2.4, configfile: pyproject.toml, testpaths: testing
plugins: forked-1.3.0, shutil-1.7.0, virtualenv-1.7.0, expect-1.1.0, flake8-1.0.7, timeout-1.4.2, betamax-0.8.1, freezegun-0.4.2, aspectlib-1.5.2, toolbox-0.5, rerunfailures-9.1.1, requests-mock-1.9.3, cov-2.12.1, pyfakefs-4.5.0, benchmark-3.4.1, xdist-2.3.0, pylama-7.7.1, datadir-1.3.1, regressions-2.2.0, cases-3.6.3, xprocess-0.18.1, black-0.3.12, checkdocs-2.7.1, anyio-3.3.0, Faker-8.11.0, asyncio-0.15.1, trio-0.7.0, httpbin-1.0.0, subtests-0.5.0, isort-2.0.0, hypothesis-6.14.6, mock-3.6.1, profiling-1.7.0, randomly-3.8.0
timeout: 30.0s
timeout method: signal
timeout func_only: False
collected 3055 items / 4 deselected / 3051 selected

testing/test_store.py .                                                                                                                                              [  0%]
testing/test_monkeypatch.py ...............................                                                                                                          [  1%]
testing/test_unraisableexception.py ....                                                                                                                             [  1%]
testing/test_debugging.py ............                                                                                                                               [  1%]
testing/test_session.py .......................                                                                                                                      [  2%]
testing/test_config.py ................................................                                                                                              [  3%]
testing/deprecated_test.py .............                                                                                                                             [  4%]
testing/test_conftest.py ....................s.....................                                                                                                  [  5%]
testing/test_mark.py ................                                                                                                                                [  6%]
testing/test_doctest.py ...........                                                                                                                                  [  6%]
testing/python/metafunc.py ............................................................                                                                              [  8%]
testing/test_assertion.py ..............................................................                                                                             [ 10%]
testing/test_runner.py ..............                                                                                                                                [ 11%]
testing/test_link_resolve.py .                                                                                                                                       [ 11%]
testing/test_conftest.py ...........                                                                                                                                 [ 11%]
testing/test_pluginmanager.py ................                                                                                                                       [ 11%]
testing/test_collection.py .                                                                                                                                         [ 11%]
testing/test_cacheprovider.py ..................................................                                                                                     [ 13%]
testing/test_recwarn.py ......................................                                                                                                       [ 14%]
testing/test_runner.py ........x...................................                                                                                                  [ 16%]
testing/python/fixtures.py ......................................................................................................................................... [ 20%]
......................                                                                                                                                               [ 21%]
testing/test_assertion.py ............                                                                                                                               [ 21%]
testing/test_threadexception.py ....                                                                                                                                 [ 22%]
testing/test_config.py ..............................s...............................................................x......................                         [ 25%]
testing/python/fixtures.py ...................x..                                                                                                                    [ 26%]
testing/deprecated_test.py .......                                                                                                                                   [ 26%]
testing/python/collect.py ..                                                                                                                                         [ 26%]
testing/freeze/tests/test_trivial.py ..                                                                                                                              [ 26%]
testing/io/test_saferepr.py ...........                                                                                                                              [ 27%]
testing/test_reports.py .................                                                                                                                            [ 27%]
testing/test_setupplan.py ...                                                                                                                                        [ 27%]
testing/test_junitxml.py ....                                                                                                                                        [ 28%]
testing/python/collect.py ..........................................................................                                                                 [ 30%]
testing/test_capture.py ................x..........................                                                                                                  [ 31%]
testing/code/test_excinfo.py ..............................................................................................................................          [ 36%]
testing/acceptance_test.py ....                                                                                                                                      [ 36%]
testing/test_pytester.py .....................                                                                                                                       [ 36%]
testing/test_assertrewrite.py .................................F......                                                                                               [ 38%]
testing/test_argcomplete.py ..                                                                                                                                       [ 38%]
testing/code/test_code.py .................                                                                                                                          [ 38%]
testing/test_collection.py .                                                                                                                                         [ 38%]
testing/python/fixtures.py .x                                                                                                                                        [ 38%]
testing/test_debugging.py ..                                                                                                                                         [ 39%]
testing/test_warning_types.py .                                                                                                                                      [ 39%]
testing/test_nose.py ss                                                                                                                                              [ 39%]
testing/python/approx.py .                                                                                                                                           [ 39%]
testing/test_faulthandler.py ..                                                                                                                                      [ 39%]
testing/io/test_wcwidth.py .................                                                                                                                         [ 39%]
testing/test_unittest.py .....s............................................................                                                                          [ 41%]
testing/acceptance_test.py ..............x.......................................                                                                                    [ 43%]
testing/freeze/tests/test_doctest.txt .                                                                                                                              [ 43%]
testing/acceptance_test.py .................                                                                                                                         [ 44%]
testing/test_capture.py ........................                                                                                                                     [ 45%]
testing/test_skipping.py ....................................................................................                                                        [ 47%]
testing/test_runner_xunit.py .............                                                                                                                           [ 48%]
testing/test_compat.py .                                                                                                                                             [ 48%]
testing/test_assertrewrite.py .......................................                                                                                                [ 49%]
testing/test_reports.py .                                                                                                                                            [ 49%]
testing/test_tmpdir.py .........s........                                                                                                                            [ 50%]
testing/python/collect.py .                                                                                                                                          [ 50%]
testing/test_main.py ............                                                                                                                                    [ 50%]
testing/python/raises.py ...                                                                                                                                         [ 50%]
testing/logging/test_reporting.py ..                                                                                                                                 [ 50%]
testing/test_unittest.py ..                                                                                                                                          [ 50%]
testing/python/metafunc.py .........................................                                                                                                 [ 52%]
testing/test_debugging.py ............................................                                                                                               [ 53%]
testing/test_faulthandler.py ...                                                                                                                                     [ 53%]
testing/test_pytester.py ......                                                                                                                                      [ 53%]
testing/test_terminal.py .......................................                                                                                                     [ 55%]
testing/test_nodes.py ....                                                                                                                                           [ 55%]
testing/test_terminal.py ..                                                                                                                                          [ 55%]
testing/test_mark.py .......................................................x....................                                                                    [ 57%]
testing/test_parseopt.py ............................                                                                                                                [ 58%]
testing/test_meta.py ............................................................                                                                                    [ 60%]
testing/test_nose.py ssssssssssssssssss                                                                                                                              [ 61%]
testing/test_pytester.py .....x.................                                                                                                                     [ 62%]
testing/test_tmpdir.py .................                                                                                                                             [ 62%]
testing/test_collection.py .....x.........................................................................                                                           [ 65%]
testing/logging/test_fixture.py ........                                                                                                                             [ 65%]
testing/test_helpconfig.py ........                                                                                                                                  [ 65%]
testing/python/raises.py .....................                                                                                                                       [ 66%]
testing/test_warnings.py ..........s.....ss............                                                                                                              [ 67%]
testing/test_helpconfig.py ..                                                                                                                                        [ 67%]
testing/test_parseopt.py .                                                                                                                                           [ 67%]
testing/test_entry_points.py .                                                                                                                                       [ 67%]
testing/test_recwarn.py ..                                                                                                                                           [ 67%]
testing/code/test_excinfo.py ...                                                                                                                                     [ 67%]
testing/test_monkeypatch.py ....                                                                                                                                     [ 67%]
testing/python/approx.py .................................................................                                                                           [ 70%]
testing/logging/test_reporting.py ......................................                                                                                             [ 71%]
testing/python/show_fixtures_per_test.py ......                                                                                                                      [ 71%]
testing/test_setuponly.py ..........................                                                                                                                 [ 72%]
testing/test_findpaths.py .............                                                                                                                              [ 72%]
testing/test_warning_types.py ...........                                                                                                                            [ 73%]
testing/test_compat.py ..                                                                                                                                            [ 73%]
testing/logging/test_formatter.py ...                                                                                                                                [ 73%]
testing/test_skipping.py .                                                                                                                                           [ 73%]
testing/test_warnings.py .                                                                                                                                           [ 73%]
testing/test_config.py ..                                                                                                                                            [ 73%]
testing/test_nodes.py ...........                                                                                                                                    [ 73%]
testing/logging/test_fixture.py .......                                                                                                                              [ 73%]
testing/test_pastebin.py ...                                                                                                                                         [ 74%]
testing/test_terminal.py .......................... ....................................................................................                              [ 77%]
testing/test_assertrewrite.py .........                                                                                                                              [ 77%]
testing/test_main.py .....                                                                                                                                           [ 78%]
testing/test_doctest.py ....................................................................x.................................................                       [ 82%]
testing/io/test_terminalwriter.py ........F....................................                                                                                      [ 83%]
testing/test_pathlib.py ........s.......................................................                                                                             [ 85%]
testing/test_compat.py ...........                                                                                                                                   [ 85%]
testing/test_pluginmanager.py .........                                                                                                                              [ 86%]
testing/test_stepwise.py ..........                                                                                                                                  [ 86%]
testing/python/integration.py ....................                                                                                                                   [ 87%]
testing/test_capture.py .............................s..................................                                                                             [ 89%]
testing/test_warnings.py .........                                                                                                                                   [ 89%]
testing/acceptance_test.py ......                                                                                                                                    [ 89%]
testing/test_error_diffs.py ............                                                                                                                             [ 90%]
testing/test_mark_expression.py ...................................................................................                                                  [ 92%]
testing/test_assertion.py ................................                                                                                                           [ 93%]
testing/test_faulthandler.py .s...                                                                                                                                   [ 94%]
testing/examples/test_issue519.py .                                                                                                                                  [ 94%]
testing/test_junitxml.py ............................................................................................................................                [ 98%]
testing/code/test_source.py ......................................................                                                                                   [100%]

================================================================================= FAILURES =================================================================================
_____________________________________________________________________ test_rewrite_infinite_recursion ______________________________________________________________________

pytester = <Pytester PosixPath('/tmp/pytest-of-tkloczko/pytest-46/test_rewrite_infinite_recursion0')>, pytestconfig = <_pytest.config.Config object at 0x7f383d782400>
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f37b89a0550>

    def test_rewrite_infinite_recursion(
        pytester: Pytester, pytestconfig, monkeypatch
    ) -> None:
        """Fix infinite recursion when writing pyc files: if an import happens to be triggered when writing the pyc
        file, this would cause another call to the hook, which would trigger another pyc writing, which could
        trigger another import, and so on. (#3506)"""
        from _pytest.assertion import rewrite as rewritemod

        pytester.syspathinsert()
        pytester.makepyfile(test_foo="def test_foo(): pass")
        pytester.makepyfile(test_bar="def test_bar(): pass")

        original_write_pyc = rewritemod._write_pyc

        write_pyc_called = []

        def spy_write_pyc(*args, **kwargs):
            # make a note that we have called _write_pyc
            write_pyc_called.append(True)
            # try to import a module at this point: we should not try to rewrite this module
            assert hook.find_spec("test_bar") is None
            return original_write_pyc(*args, **kwargs)

        monkeypatch.setattr(rewritemod, "_write_pyc", spy_write_pyc)
        monkeypatch.setattr(sys, "dont_write_bytecode", False)

        hook = AssertionRewritingHook(pytestconfig)
        spec = hook.find_spec("test_foo")
>       assert spec is not None
E       assert None is not None

/home/tkloczko/rpmbuild/BUILD/pytest-6.2.4/testing/test_assertrewrite.py:1297: AssertionError
____________________________________________________________________ test_should_do_markup_FORCE_COLOR _____________________________________________________________________

monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f37d9f9f100>

    def test_should_do_markup_FORCE_COLOR(monkeypatch: MonkeyPatch) -> None:
        monkeypatch.setitem(os.environ, "FORCE_COLOR", "1")
>       assert_color_set()

testing/io/test_terminalwriter.py:204:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    def assert_color_set():
        file = io.StringIO()
        tw = terminalwriter.TerminalWriter(file)
>       assert tw.hasmarkup
E       assert False
E        +  where False = <_pytest._io.terminalwriter.TerminalWriter object at 0x7f37d9f9f280>.hasmarkup

testing/io/test_terminalwriter.py:169: AssertionError
============================================================================= warnings summary =============================================================================
testing/test_terminal.py::TestProgressWithTeardown::test_xdist_normal
testing/test_terminal.py::TestProgressOutputStyle::test_xdist_verbose
testing/test_terminal.py::TestProgressOutputStyle::test_xdist_normal_count
testing/test_terminal.py::TestProgressOutputStyle::test_xdist_normal
testing/test_terminal.py::TestTerminalFunctional::test_verbose_reporting_xdist
testing/test_junitxml.py::test_random_report_log_xdist
testing/test_junitxml.py::test_runs_twice_xdist
  /usr/lib/python3.8/site-packages/pytest_benchmark/logger.py:46: PytestBenchmarkWarning: Benchmarks are automatically disabled because xdist plugin is active.Benchmarks cannot be performed reliably in a parallelized environment.
    warner(PytestBenchmarkWarning(text))

-- Docs: https://docs.pytest.org/en/stable/warnings.html
========================================================================= short test summary info ==========================================================================
SKIPPED [1] testing/test_conftest.py:291: only relevant for case insensitive file systems
SKIPPED [1] testing/test_config.py:1790: does not work with xdist currently
SKIPPED [20] testing/test_nose.py:6: could not import 'nose': No module named 'nose'
SKIPPED [1] testing/test_unittest.py:1235: could not import 'asynctest': No module named 'asynctest'
SKIPPED [1] testing/test_tmpdir.py:238: win only
SKIPPED [3] testing/test_warnings.py:514: This test should be enabled again before pytest 7.0 is released
SKIPPED [1] testing/test_pathlib.py:420: Windows only
SKIPPED [1] testing/test_capture.py:1433: only on windows
SKIPPED [1] testing/test_faulthandler.py:52: sometimes crashes on CI (#7022)
XFAIL testing/test_runner.py::test_runtest_in_module_ordering
XFAIL testing/test_config.py::TestParseIni::test_confcutdir
  probably not needed
XFAIL testing/python/fixtures.py::TestAutouseDiscovery::test_setup_enabled_functionnode
  'enabled' feature not implemented
XFAIL testing/test_capture.py::TestPerTestCapturing::test_capture_scope_cache
  unimplemented feature
XFAIL testing/python/fixtures.py::TestRequestBasic::test_request_garbage
  reason: this test is flaky when executed with xdist
XFAIL testing/acceptance_test.py::TestInvocationVariants::test_noclass_discovery_if_not_testcase
  decide: feature or bug
XFAIL testing/test_mark.py::TestKeywordSelection::test_keyword_extra_dash
XFAIL testing/test_pytester.py::test_make_hook_recorder
  reason: internal reportrecorder tests need refactoring
XFAIL testing/test_collection.py::TestPrunetraceback::test_collect_report_postprocessing
  other mechanism for adding to reporting needed
XFAIL testing/test_doctest.py::TestLiterals::test_number_non_matches['3.1416'-'3.14']
FAILED testing/test_assertrewrite.py::test_rewrite_infinite_recursion - assert None is not None
FAILED testing/io/test_terminalwriter.py::test_should_do_markup_FORCE_COLOR - assert False
======================================= 2 failed, 3009 passed, 30 skipped, 4 deselected, 10 xfailed, 7 warnings in 232.96s (0:03:52) =======================================
pytest-xprocess reminder::Be sure to terminate the started process by running 'pytest --xkill' if you have not explicitly done so in your fixture with 'xprocess.getinfo(<process_name>).terminate()'.
/home/tkloczko/rpmbuild/BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/pathlib.py:80: PytestWarning: (rm_rf) error removing /tmp/pytest-of-tkloczko/garbage-cc36a71c-792a-4777-a8fe-59d51c26b057/test_safe_get_no_perms0
<class 'OSError'>: [Errno 39] Directory not empty: 'test_safe_get_no_perms0'
  warnings.warn(
/home/tkloczko/rpmbuild/BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/pathlib.py:80: PytestWarning: (rm_rf) error removing /tmp/pytest-of-tkloczko/garbage-cc36a71c-792a-4777-a8fe-59d51c26b057/test_safe_delete_no_perms0
<class 'OSError'>: [Errno 39] Directory not empty: 'test_safe_delete_no_perms0'
  warnings.warn(
/home/tkloczko/rpmbuild/BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/pathlib.py:80: PytestWarning: (rm_rf) error removing /tmp/pytest-of-tkloczko/garbage-cc36a71c-792a-4777-a8fe-59d51c26b057/test_safe_set_no_perms0
<class 'OSError'>: [Errno 39] Directory not empty: 'test_safe_set_no_perms0'
  warnings.warn(
/home/tkloczko/rpmbuild/BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/pathlib.py:80: PytestWarning: (rm_rf) error removing /tmp/pytest-of-tkloczko/garbage-cc36a71c-792a-4777-a8fe-59d51c26b057/test_rmtree_errorhandler_rerai0
<class 'OSError'>: [Errno 39] Directory not empty: 'test_rmtree_errorhandler_rerai0'
  warnings.warn(
/home/tkloczko/rpmbuild/BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/pathlib.py:80: PytestWarning: (rm_rf) error removing /tmp/pytest-of-tkloczko/garbage-cc36a71c-792a-4777-a8fe-59d51c26b057/test_rmtree_errorhandler_reado0
<class 'OSError'>: [Errno 39] Directory not empty: 'test_rmtree_errorhandler_reado0'
  warnings.warn(
/home/tkloczko/rpmbuild/BUILDROOT/python-pytest-6.2.4-6.fc35.x86_64/usr/lib/python3.8/site-packages/_pytest/pathlib.py:80: PytestWarning: (rm_rf) error removing /tmp/pytest-of-tkloczko/garbage-cc36a71c-792a-4777-a8fe-59d51c26b057
<class 'OSError'>: [Errno 39] Directory not empty: '/tmp/pytest-of-tkloczko/garbage-cc36a71c-792a-4777-a8fe-59d51c26b057'
  warnings.warn(
@kloczek
Copy link
Contributor Author

kloczek commented Aug 18, 2021

Just done 10 times test with '-p no:randomly` and was no errors.

@graingert
Copy link
Member

many of pytest's selftests rely on the specific output of pytester including the order of tests. They expect to be running in a clean environment with only the deps that it specifies installed.

you might be interested in #7675

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