Skip to content

Commit

Permalink
test: Replace rogue NotImplementedError
Browse files Browse the repository at this point in the history
  • Loading branch information
dangotbanned committed Nov 20, 2024
1 parent e01fdd7 commit 0c5195e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def test_load(monkeypatch: pytest.MonkeyPatch) -> None:
assert load._reader._name == "pandas"
monkeypatch.delattr(altair.datasets._loader, "load")
monkeypatch.setitem(sys.modules, "pandas", None)
with pytest.raises(NotImplementedError, match="no.+backend"):
with pytest.raises(AltairDatasetsError, match="no.+backend"):
from altair.datasets import load
else:
assert load._reader._name == "pandas[pyarrow]"
Expand Down

0 comments on commit 0c5195e

Please sign in to comment.