Skip to content

Commit

Permalink
Fix test cuda
Browse files Browse the repository at this point in the history
  • Loading branch information
ericpre committed Oct 28, 2023
1 parent d31b6ea commit de3f87f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hyperspy/tests/signals/test_cuda.py
Expand Up @@ -41,7 +41,7 @@ def setup_method(self, method):
@pytest.mark.parametrize('as_numpy', [True, False, None])
def test_call_signal(self, as_numpy):
s = self.s
s2 = s(as_numpy=as_numpy)
s2 = s._get_current_data(as_numpy=as_numpy)
if not as_numpy:
assert isinstance(s2, cp.ndarray)
s2 = cp.asnumpy(s2)
Expand Down

0 comments on commit de3f87f

Please sign in to comment.