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

package info (click to toggle)
python-inline-snapshot 0.23.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,116 kB
  • sloc: python: 6,888; makefile: 34; sh: 28
file content (25 lines) | stat: -rw-r--r-- 636 bytes parent folder | download
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 1bcbf8e..221c150 100644
--- a/docs/pytest.md
+++ b/docs/pytest.md
@@ -80,7 +80,7 @@ function run(){
     echo -en "\x1b[1;34m> "
     echo $@
     echo -en "\x1b[0m"
-    python -m $@
+    python3 -m $@
     echo
 }