tests: harden test_disabled_capture_fixture
tests: harden test_disabled_capture_fixture

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