Skip to content

Commit

Permalink
again5
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlKCarlK committed Nov 6, 2023
1 parent d54e316 commit fbfa82d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bed_reader/tests/test_opt_dep.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def test_optional_dependencies(shared_datadir):
file = shared_datadir / "plink_sim_10s_100v_10pmiss.bed"
with open_bed(file) as bed:
if sprase is None:
with pytest.raises(ValueError):
with pytest.raises(ImportError):
_ = bed.read_sparse(dtype="int8")
else:
_ = bed.read_sparse(dtype="int8")
Expand All @@ -23,7 +23,7 @@ def test_optional_dependencies(shared_datadir):
pooch = None

if pooch is None:
with pytest.raises(ValueError):
with pytest.raises(ImportError):
_ = sample_file("small.bed")
else:
_ = sample_file("small.bed")

0 comments on commit fbfa82d

Please sign in to comment.