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