tests.conftest: Fix type ignore warning
Fixes build [1]
[1] https://jenkins.softwareheritage.org/job/DLDHG/job/tests/701/console