Package: python-genson / 1.3.0-2

fix-python-path.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
From: Simon Josefsson <simon@josefsson.org>
Subject: fix debian python path
Forwarded: not-needed

diff --git a/test/test_bin.py b/test/test_bin.py
index 23d7dfa..c364a98 100644
--- a/test/test_bin.py
+++ b/test/test_bin.py
@@ -25,7 +25,7 @@ def run(args=tuple(), stdin_data=None):
     Run the ``genson`` executable as a subprocess and return
     (stdout, stderr).
     """
-    full_args = ['python', '-m', 'genson']
+    full_args = ['python3', '-m', 'genson']
     full_args.extend(args)
     env = os.environ.copy()
     env['COLUMNS'] = '80'  # set width for deterministic text wrapping