Skip to content

Commit 2810a16

Browse files
Update testsuite/pytests/sli2py_regressions/test_issue_659.py
Co-authored-by: Hans Ekkehard Plesser <[email protected]>
1 parent 4eecb77 commit 2810a16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testsuite/pytests/sli2py_regressions/test_issue_659.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def test_run_without_prepare():
3333
Test that calling Run without Prepare results in an error.
3434
"""
3535
nest.ResetKernel()
36-
with pytest.raises(Exception):
36+
with pytest.raises(nest.kernel.NESTError):
3737
nest.Run(10.0)
3838

3939

0 commit comments

Comments
 (0)