harden test_collect_init_tests
harden test_collect_init_tests

RonnyPfannschmidt/pytest,hackebrot/pytest,Akasurde/pytest,The-Compiler/pytest,tomviner/pytest,pytest-dev/pytest,nicoddemus/pytest,The-Compiler/pytest,alfredodeza/pytest,nicoddemus/pytest,tomviner/pytest,txomon/pytest,markshao/pytest