File: Use-python3-within-test-call.patch

package info (click to toggle)
django-rich 2.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 388 kB
  • sloc: python: 1,241; sh: 17; makefile: 8
file content (22 lines) | stat: -rw-r--r-- 641 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Carsten Schoenert <c.schoenert@t-online.de>
Date: Sun, 12 Jun 2022 19:00:49 +0200
Subject: Use python3 within test call

Forwarded: Not-Needed
---
 tests/test_test.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/test_test.py b/tests/test_test.py
index 1da3be1..82ff461 100644
--- a/tests/test_test.py
+++ b/tests/test_test.py
@@ -145,7 +145,7 @@ class TestRunnerTests(SimpleTestCase):
     ) -> subprocess.CompletedProcess[str]:
         return subprocess.run(
             [
-                "python",
+                "python3",
                 "-m",
                 "django",
                 "test",