Ensure Config.inifile is available during pytest_cmdline_main

Fix #9396
This commit is contained in:
Bruno Oliveira
2021-12-08 11:01:10 -03:00
parent 1860140460
commit 4038752bf3
4 changed files with 54 additions and 34 deletions
+1
View File
@@ -1268,6 +1268,7 @@ def test_load_initial_conftest_last_ordering(_config_for_test):
expected = [
"_pytest.config",
m.__module__,
"_pytest.legacypath",
"_pytest.pythonpath",
"_pytest.capture",
"_pytest.warnings",