Skip to content
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions pandas/tests/io/test_compression.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import contextlib
import os
import subprocess
import sys
import textwrap
import warnings

Expand Down Expand Up @@ -139,7 +140,7 @@ def test_with_missing_lzma():
import pandas
"""
)
subprocess.check_output(["python", "-c", code])
subprocess.check_output([sys.executable, "-c", code])


def test_with_missing_lzma_runtime():
Expand All @@ -156,4 +157,4 @@ def test_with_missing_lzma_runtime():
df.to_csv('foo.csv', compression='xz')
"""
)
subprocess.check_output(["python", "-c", code])
subprocess.check_output([sys.executable, "-c", code])