Skip to content

Commit ca6422e

Browse files
committed
fix test
1 parent 58a3870 commit ca6422e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/unit/standalone/interactive/test_communication.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,8 @@ def test_interface_serial_with_stopped_process(self):
194194
self.assertTrue(interface.status)
195195
interface.send_dict(input_dict=task_dict)
196196
interface._spawner._process.terminate()
197-
with self.assertRaises(ExecutorlibSocketError):
198-
raise interface.receive_dict()["error"]
197+
output = interface.receive_dict()
198+
self.assertIsInstance(output["error"], ExecutorlibSocketError)
199199

200200

201201
class TestZMQ(unittest.TestCase):

0 commit comments

Comments
 (0)