From 30bbafeb8dc72bfd1ccf17a101e355b93f1f6c22 Mon Sep 17 00:00:00 2001 From: "Christian Y. Brenninkmeijer" Date: Tue, 10 Sep 2024 09:49:01 +0100 Subject: [PATCH] genral exception --- spinnman_integration_tests/test_job.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spinnman_integration_tests/test_job.py b/spinnman_integration_tests/test_job.py index b1685514..6c8275a7 100644 --- a/spinnman_integration_tests/test_job.py +++ b/spinnman_integration_tests/test_job.py @@ -31,8 +31,8 @@ def setUp(self): def test_create_job(self): try: client = SpallocClient(self.spalloc_url) - except ConnectionError as ex: - raise unittest.skip(str(ex)) + except Exception as ex: + raise Exception(str(type(ex))) # job = client.create_job_rect_at_board( # WIDTH, HEIGHT, triad=(x, y, b), machine_name=SPALLOC_MACHINE, # max_dead_boards=1)