We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d3f483 commit 9a5f25dCopy full SHA for 9a5f25d
pandas/tests/io/test_compression.py
@@ -1,6 +1,7 @@
1
import contextlib
2
import os
3
import subprocess
4
+import sys
5
import textwrap
6
import warnings
7
@@ -139,7 +140,7 @@ def test_with_missing_lzma():
139
140
import pandas
141
"""
142
)
- subprocess.check_output(["python", "-c", code])
143
+ subprocess.check_output([sys.executable, "-c", code])
144
145
146
def test_with_missing_lzma_runtime():
@@ -156,4 +157,4 @@ def test_with_missing_lzma_runtime():
156
157
df.to_csv('foo.csv', compression='xz')
158
159
160
0 commit comments