summaryrefslogtreecommitdiff
path: root/textproc/py-pyscss/files/patch-scss_tests_test__cli.py
blob: 562d448de1dab3198ea08e284e7ea303b6cf70c4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
https://github.com/Kronuz/pyScss/pull/425

--- scss/tests/test_cli.py.orig	2020-03-26 15:04:27 UTC
+++ scss/tests/test_cli.py
@@ -1,4 +1,5 @@
 """Test the command-line tool from the outside."""
+import sys
 from subprocess import PIPE, Popen
 
 # TODO: this needs way, way, way, way more tests
@@ -6,7 +7,7 @@ from subprocess import PIPE, Popen
 
 def test_stdio():
     proc = Popen(
-        ['python', '-m', 'scss.tool', '-C'],
+        [sys.executable, '-m', 'scss.tool', '-C'],
         stdin=PIPE,
         stdout=PIPE,
         # this automatically handles encoding/decoding on py3