Skip to content

Commit

Permalink
Fix 64bit-only experimental modules in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
milesgranger committed Nov 2, 2024
1 parent a23b9ea commit 9ba2031
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions tests/test_variants.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,10 @@

for experimental_feat in ("blosc2", "igzip", "ideflate", "izlib"):
if not hasattr(cramjam, experimental_feat) and hasattr(cramjam, "experimental"):
mod = getattr(cramjam.experimental, experimental_feat)
setattr(cramjam, experimental_feat, mod)

if hasattr(cramjam, experimental_feat):
VARIANTS = (*VARIANTS, experimental_feat)
mod = getattr(cramjam.experimental, experimental_feat, None)
if mod:
setattr(cramjam, experimental_feat, mod)
VARIANTS = (*VARIANTS, experimental_feat)

# Some OS can be slow or have higher variability in their runtimes on CI
settings.register_profile("local", deadline=None, max_examples=20)
Expand Down

0 comments on commit 9ba2031

Please sign in to comment.