From 27a8709d64606bca8fd9a5a8c1ac39883e42af86 Mon Sep 17 00:00:00 2001 From: "Christian Y. Brenninkmeijer" Date: Mon, 16 Oct 2023 11:25:41 +0100 Subject: [PATCH] reason is not optional --- spinn_utilities/data/utils_data_view.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spinn_utilities/data/utils_data_view.py b/spinn_utilities/data/utils_data_view.py index d6b1c57c..1619d5a5 100644 --- a/spinn_utilities/data/utils_data_view.py +++ b/spinn_utilities/data/utils_data_view.py @@ -615,7 +615,7 @@ def _mock_has_run(cls) -> None: cls.__data._requires_data_generation = False cls.__data._requires_mapping = False - def raise_skiptest(self, reason: str = None, + def raise_skiptest(self, reason: str, parent: Optional[Exception] = None) -> None: """ Sets the status as shutdown and raises a SkipTest