File: fix_test_pytest.patch

package info (click to toggle)
snakemake 7.21.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 25,052 kB
  • sloc: python: 30,995; javascript: 1,290; makefile: 247; sh: 163; ansic: 57; lisp: 9
file content (15 lines) | stat: -rw-r--r-- 457 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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