File: rename-python-in-test.patch

package info (click to toggle)
python-django-test-migrations 1.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 436 kB
  • sloc: python: 1,479; makefile: 26
file content (14 lines) | stat: -rw-r--r-- 480 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Description: rename that call to use python3
Forwarded: not-needed
Author: Jérémy Lal <kapouer@melix.org>
--- a/tests/test_contrib/test_django_checks/test_autonames_check.py
+++ b/tests/test_contrib/test_django_checks/test_autonames_check.py
@@ -5,7 +5,7 @@
     """Checks that checks do fail."""
     proc = subprocess.Popen(
         [
-            'python',
+            'python3',
             'django_test_app/manage.py',
             'check',
             '--fail-level',