Merge pull request #11650 from bluetech/tr-test-isolation

testing: fix isolation issue in `tr` fixture
This commit is contained in:
Ran Benita 2023-11-28 20:14:20 +02:00 committed by GitHub
commit 81c06b3955
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1802,7 +1802,7 @@ def test_terminal_no_summary_warnings_header_once(pytester: Pytester) -> None:
@pytest.fixture(scope="session")
def tr() -> TerminalReporter:
config = _pytest.config._prepareconfig()
config = _pytest.config._prepareconfig([])
return TerminalReporter(config)