Skip to content

Commit 31ad407

Browse files
committed
Try removing subprocess call in conftest
1 parent 89898a6 commit 31ad407

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/_config/localization.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
import locale
1111
import platform
1212
import re
13-
import subprocess
1413
from typing import (
1514
TYPE_CHECKING,
1615
cast,
@@ -142,7 +141,8 @@ def get_locales(
142141
143142
"""
144143
if platform.system() in ("Linux", "Darwin"):
145-
raw_locales = subprocess.check_output(["locale", "-a"])
144+
# raw_locales = subprocess.check_output(["locale", "-a"])
145+
raw_locales = []
146146
else:
147147
# Other platforms e.g. windows platforms don't define "locale -a"
148148
# Note: is_platform_windows causes circular import here

0 commit comments

Comments
 (0)