Skip to content

Commit

Permalink
debug windows tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jorisvandenbossche committed May 3, 2022
1 parent cd24003 commit c7f2368
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ci/appveyor-cpp-build.bat
Expand Up @@ -158,7 +158,7 @@ python setup.py develop -q || exit /B

set PYTHONDEVMODE=1

py.test -r sxX --durations=15 --pyargs pyarrow.tests || exit /B
py.test -r sxX -v -s --durations=15 --pyargs pyarrow.tests || exit /B

@rem
@rem Wheels are built and tested separately (see ARROW-5142).
Expand Down
5 changes: 4 additions & 1 deletion python/pyarrow/tests/test_dataset.py
Expand Up @@ -2594,7 +2594,7 @@ def test_file_format_inspect_fsspec(tempdir):

# read using fsspec filesystem
fsspec_fs = fsspec.filesystem("file")
assert fsspec_fs.ls(tempdir) == [str(path)]
assert fsspec_fs.ls(tempdir)[0].endswith("data.parquet")

# inspect using dataset file format
format = ds.ParquetFileFormat()
Expand Down Expand Up @@ -3133,6 +3133,9 @@ def test_parquet_dataset_factory_fsspec(tempdir):
# filesystem would internally be converted to native LocalFileSystem
filesystem = fs.PyFileSystem(fs.FSSpecHandler(fsspec_fs))
dataset = ds.parquet_dataset(metadata_path, filesystem=filesystem)
print(metadata_path)
print(dataset.files)
print(list(dataset.get_fragments())[0].path)
assert dataset.schema.equals(table.schema)
assert len(dataset.files) == 4
result = dataset.to_table()
Expand Down

0 comments on commit c7f2368

Please sign in to comment.