Skip to content

Commit 146c2f0

Browse files
committed
Catch a SpiNNMan exception here
1 parent d9d98c4 commit 146c2f0

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

gfe_integration_tests/test_rte/test_rte_during_run_forever.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@
1717
from time import sleep
1818

1919
from spinnman.model.enums import ExecutableType
20-
from spinn_front_end_common.utilities.exceptions import (
21-
ExecutableFailedToStopException)
20+
from spinnman.exceptions import SpinnmanException
2221
from spinn_front_end_common.utilities.database import DatabaseConnection
2322
from spinnaker_testbase import BaseTestCase
2423

@@ -40,7 +39,7 @@ def start():
4039
"test_rte_during_run.aplx",
4140
ExecutableType.USES_SIMULATION_INTERFACE))
4241
s.add_socket_address(None, "localhost", conn.local_port)
43-
with pytest.raises(ExecutableFailedToStopException):
42+
with pytest.raises(SpinnmanException):
4443
s.run(None)
4544

4645
def test_rte_during_run_forever(self):

0 commit comments

Comments
 (0)