Skip to content

Commit

Permalink
apacheGH-43868: [CI][Python] Skip test that requires PARQUET_TEST_DAT…
Browse files Browse the repository at this point in the history
…A env on emscripten (apache#43906)

### Rationale for this change

The following PR:
- apache#41580

Made mandatory for a test the requirement to have `PARQUET_TEST_DATA` env defined.

This is currently not available from `python_test_emscripten.sh` as we require to mount the filesystem for both Node and ChromeDriver.

### What changes are included in this PR?

Skip the test that requires `PARQUET_TEST_DATA` for emscripten.

### Are these changes tested?

Via archery

### Are there any user-facing changes?

No
* GitHub Issue: apache#43905
* GitHub Issue: apache#43868

Lead-authored-by: Raúl Cumplido <[email protected]>
Co-authored-by: Joris Van den Bossche <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
  • Loading branch information
raulcd and jorisvandenbossche authored Sep 18, 2024
1 parent 3f514f2 commit fe39c8f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/pyarrow/tests/parquet/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

import os
import pathlib
import sys

import pytest

Expand All @@ -30,6 +31,8 @@ def datadir(base_datadir):

@pytest.fixture(scope='module')
def parquet_test_datadir():
if sys.platform == 'emscripten':
pytest.skip("needs PARQUET_TEST_DATA files access")
result = os.environ.get('PARQUET_TEST_DATA')
if not result:
raise RuntimeError('Please point the PARQUET_TEST_DATA environment '
Expand Down

0 comments on commit fe39c8f

Please sign in to comment.