test_ok2/changelog/6023.improvement.rst

2 lines
142 B
ReStructuredText

``pytest.main`` returns a ``pytest.ExitCode`` instance now, except for when custom exit codes are used (where it returns ``int`` then still).