From b518135fa7890775425ccefc017ca332a3611fe1 Mon Sep 17 00:00:00 2001 From: "Christian Y. Brenninkmeijer" Date: Mon, 12 Aug 2024 09:44:31 +0100 Subject: [PATCH] show version --- unittests/make_tools/test_replacer.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/unittests/make_tools/test_replacer.py b/unittests/make_tools/test_replacer.py index 92148e21..6365e267 100644 --- a/unittests/make_tools/test_replacer.py +++ b/unittests/make_tools/test_replacer.py @@ -34,6 +34,7 @@ from spinn_utilities.config_holder import set_config from spinn_utilities.make_tools.replacer import Replacer from spinn_utilities.make_tools.file_converter import TOKEN +from spinn_utilities._version import __version__ as version PATH = os.path.dirname(os.path.abspath(__file__)) @@ -105,7 +106,7 @@ def test_listdir(self): m = sys.modules[Replacer.__module__].__file__ d = os.path.dirname(m) fs = os.listdir(d) - raise Exception(str(d) + str(fs)) + raise Exception(version + " " + str(d) + str(fs)) def near_equals(self, a, b): diff = a - b