Skip to content

Commit

Permalink
Backport PR #53819 on branch 2.0.x (TST/CI: Skipif test_complibs) (#5…
Browse files Browse the repository at this point in the history
…3823)

Backport PR #53819: TST/CI: Skipif test_complibs

Co-authored-by: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com>
  • Loading branch information
meeseeksmachine and mroeschke committed Jun 23, 2023
1 parent dde820f commit 5299051
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pandas/tests/io/pytables/test_file_handling.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,11 +230,11 @@ def test_complibs_default_settings_override(tmp_path, setup_path):
@pytest.mark.parametrize("lvl", range(10))
@pytest.mark.parametrize("lib", tables.filters.all_complibs)
@pytest.mark.filterwarnings("ignore:object name is not a valid")
@pytest.mark.xfail(
@pytest.mark.skipif(
not PY311 and is_ci_environment() and is_platform_linux(),
reason="producing invalid start bytes",
raises=UnicodeDecodeError,
strict=False,
reason="Segfaulting in a CI environment"
# with xfail, would sometimes raise UnicodeDecodeError
# invalid state byte
)
def test_complibs(tmp_path, lvl, lib):
# GH14478
Expand Down

0 comments on commit 5299051

Please sign in to comment.