Skip to content

Commit 100a6ab

Browse files
Backport PR #45771: TST: Skip pyarrow hanging in MacOS CI (#45781)
Co-authored-by: Matthew Roeschke <[email protected]>
1 parent 0f21256 commit 100a6ab

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

pandas/tests/io/parser/test_unsupported.py

+7-4
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@
1212

1313
import pytest
1414

15-
from pandas.compat import is_platform_windows
15+
from pandas.compat import (
16+
is_platform_mac,
17+
is_platform_windows,
18+
)
1619
from pandas.errors import ParserError
1720

1821
import pandas._testing as tm
@@ -174,9 +177,9 @@ def test_close_file_handle_on_invalide_usecols(all_parsers):
174177
if parser.engine == "pyarrow":
175178
pyarrow = pytest.importorskip("pyarrow")
176179
error = pyarrow.lib.ArrowKeyError
177-
if is_platform_windows():
178-
# GH#45547 causes timeouts on windows builds
179-
pytest.skip("GH#45547 causing timeouts on windows builds 2022-01-22")
180+
if is_platform_windows() or is_platform_mac():
181+
# GH#45547 causes timeouts on windows/mac builds
182+
pytest.skip("GH#45547 causing timeouts on windows/mac builds 2022-01-22")
180183

181184
with tm.ensure_clean("test.csv") as fname:
182185
Path(fname).write_text("col1,col2\na,b\n1,2")

0 commit comments

Comments
 (0)