We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0cdf8e4 commit 3c7a3b7Copy full SHA for 3c7a3b7
1 file changed
adaptive/tests/unit/test_learnernd.py
@@ -163,12 +163,16 @@ def missing_holoviews(name):
163
raise ModuleNotFoundError
164
return import_module(name)
165
166
- monkeypatch.setattr(notebook_integration.importlib, "import_module", missing_holoviews)
+ monkeypatch.setattr(
167
+ notebook_integration.importlib, "import_module", missing_holoviews
168
+ )
169
170
learner = make_1d_learner()
171
tell_1d_points(learner)
172
- with pytest.raises(RuntimeError, match="holoviews is not installed; plotting is disabled."):
173
+ with pytest.raises(
174
+ RuntimeError, match="holoviews is not installed; plotting is disabled."
175
+ ):
176
learner.plot()
177
178
0 commit comments