test_load_initial_conftest_last_ordering: handle testing package (#6706)
This commit is contained in:
parent
ef73a56032
commit
de3353aac1
|
@ -839,7 +839,7 @@ def test_load_initial_conftest_last_ordering(_config_for_test):
|
|||
pm.register(m)
|
||||
hc = pm.hook.pytest_load_initial_conftests
|
||||
values = hc._nonwrappers + hc._wrappers
|
||||
expected = ["_pytest.config", "test_config", "_pytest.capture"]
|
||||
expected = ["_pytest.config", m.__module__, "_pytest.capture"]
|
||||
assert [x.function.__module__ for x in values] == expected
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue