Skip to content

BUG: Need to be able to specify location of legacy files for tests #64604

@opoplawski

Description

@opoplawski

Pandas version checks

  • I have checked that this issue has not already been reported.

  • I have confirmed this bug exists on the latest version of pandas.

  • I have confirmed this bug exists on the main branch of pandas.

Reproducible Example

When building pandas for Fedora, we build a wheel and install it to a temporary location, then run tests using using that location:

/usr/bin/pytest -v /builddir/build/BUILD/python-pandas-3.0.1-build/BUILDROOT/usr/lib64/python3.14/site-packages/pandas 

This fails with:

______________ ERROR collecting tests/io/pytables/test_compat.py _______________
Empty parameter set in 'test_legacy_files' at line 86

This is because the legacy .h5 files are not in the installed location (which is fine, we don't want that).

Issue Description

Would it be possible to specify the location of the .h5 files?

Expected Behavior

Test finds the files it needs

Installed Versions

3.0.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugIO HDF5read_hdf, HDFStoreNeeds InfoClarification about behavior needed to assess issueTestingpandas testing functions or related to the test suite

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions