We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e83fac commit 516ae7aCopy full SHA for 516ae7a
nipype/interfaces/cmtk/tests/test_nbs.py
@@ -4,6 +4,7 @@
4
import numpy as np
5
import networkx as nx
6
import pytest
7
+from nibabel.testing import clear_and_catch_warnings
8
9
have_cv = True
10
try:
@@ -41,7 +42,7 @@ def test_importerror(creating_graphs, tmpdir):
41
42
43
with pytest.raises(ImportError) as e:
44
nbs.run()
- assert "cviewer library is not available" == str(e.value)
45
+ assert "No module named 'cviewer'" == str(e.value)
46
47
48
@pytest.mark.skipif(not have_cv, reason="cviewer has to be available")
0 commit comments