test_ok2/testing/python
Ran Benita d33da078a8 Move ExitCode's definition from _pytest.main to _pytest.config
ExitCode is used in several internal modules and hooks and so with type
annotations added, needs to be imported a lot.

_pytest.main, being the entry point, generally sits at the top of the
import tree.

So, it's not great to have ExitCode defined in _pytest.main, because it
will cause a lot of import cycles once type annotations are added (in
fact there is already one, which this change removes).

Move it to _pytest.config instead.

_pytest.main still imports ExitCode, so importing from there still
works, although external users should really be importing from `pytest`.
2020-02-10 23:55:06 +02:00
..
approx.py tests: lazily import doctest in approx tests 2019-10-28 12:55:16 +01:00
collect.py Move ExitCode's definition from _pytest.main to _pytest.config 2020-02-10 23:55:06 +02:00
fixtures.py Fix unguarded `==` comparison in fixtures. (#6541) 2020-01-28 20:54:14 -03:00
integration.py deprecate direct node construction and introduce Node.from_parent 2019-11-23 21:54:11 +01:00
metafunc.py [parametrize] enforce explicit argnames declaration (#6330) 2020-02-06 20:20:25 -03:00
raises.py Remove "pragma: no cover" comments 2020-01-14 09:15:36 +01:00
show_fixtures_per_test.py Use new no-match functions to replace previous idiom 2019-10-06 18:05:24 -03:00