File: python-is-python3.patch

package info (click to toggle)
python-nxtomomill 1.1.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,564 kB
  • sloc: python: 15,970; makefile: 13; sh: 3
file content (19 lines) | stat: -rw-r--r-- 460 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- a/nxtomomill/converter/hdf5/tests/test_hdf5converter.py
+++ b/nxtomomill/converter/hdf5/tests/test_hdf5converter.py
@@ -1,6 +1,7 @@
 # coding: utf-8
 
 import os
+import sys
 import tempfile
 
 import h5py
@@ -1011,7 +1012,7 @@
         assert not os.path.exists(output_file)
         cmd = " ".join(
             (
-                "python",
+                sys.executable,
                 "-m",
                 "nxtomomill",
                 "h52nx",