Author: Steffen Moeller <moeller@debian.org>
Description: pytest has the -3 suffix on Debian
Forwarded: Not required since Debian-specific

--- a/tests/tests.py
+++ b/tests/tests.py
@@ -1644,7 +1644,7 @@ def test_generate_unit_tests():
             check_md5=False,
             cleanup=False,
         )
-        sp.check_call(["pytest", ".tests", "-vs"], cwd=tmpdir)
+        sp.check_call(["pytest-3", ".tests", "-vs"], cwd=tmpdir)
 
 
 @skip_on_windows
