We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d63f521 commit ef086a3Copy full SHA for ef086a3
testing/test_config.py
@@ -1264,16 +1264,16 @@ def pytest_load_initial_conftests(self):
1264
m = My()
1265
pm.register(m)
1266
hc = pm.hook.pytest_load_initial_conftests
1267
- values = hc._nonwrappers + hc._wrappers
1268
- expected = [
+ assert [x.function.__module__ for x in hc._nonwrappers] == [
1269
"_pytest.config",
1270
m.__module__,
1271
"_pytest.legacypath",
1272
"_pytest.pythonpath",
+ ]
1273
+ assert [x.function.__module__ for x in hc._wrappers] == [
1274
"_pytest.capture",
1275
"_pytest.warnings",
1276
]
- assert [x.function.__module__ for x in values] == expected
1277
1278
1279
def test_get_plugin_specs_as_list() -> None:
0 commit comments