Skip to content

Commit 81c06b3

Browse files
authored
Merge pull request #11650 from bluetech/tr-test-isolation
testing: fix isolation issue in `tr` fixture
2 parents 5782aab + 968510b commit 81c06b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testing/test_terminal.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1802,7 +1802,7 @@ def test_failure():
18021802

18031803
@pytest.fixture(scope="session")
18041804
def tr() -> TerminalReporter:
1805-
config = _pytest.config._prepareconfig()
1805+
config = _pytest.config._prepareconfig([])
18061806
return TerminalReporter(config)
18071807

18081808

0 commit comments

Comments
 (0)