File: docs-Use-python3-in-example-as-interpreter-call.patch

package info (click to toggle)
python-inline-snapshot 0.29.0-2
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 1,400 kB
  • sloc: python: 8,877; makefile: 37; sh: 30
file content (25 lines) | stat: -rw-r--r-- 636 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From: Carsten Schoenert <c.schoenert@t-online.de>
Date: Sat, 30 Nov 2024 20:17:20 +0100
Subject: docs: Use python3 in example as interpreter call

On Debian systems there is no python binary available any more on a
default system installation. We have python3 instead.

Forwarded: not-needed
---
 docs/pytest.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/pytest.md b/docs/pytest.md
index 410b3de..98157d1 100644
--- a/docs/pytest.md
+++ b/docs/pytest.md
@@ -83,7 +83,7 @@ function run(){
     echo -en "\x1b[1;34m> "
     echo $@
     echo -en "\x1b[0m"
-    python -m $@
+    python3 -m $@
     echo
 }