From 6cf605a024a79d5cc59214d5c12d96fcd4c9dfe1 Mon Sep 17 00:00:00 2001 From: Youngjun Lee Date: Thu, 7 Nov 2024 23:46:58 -0600 Subject: [PATCH] more information (cherry picked from commit 45b5bdb74ae47888735cc63a165c9d21740c5a55) --- tools/milhoja_pypkg/src/milhoja/tests/TestCodeGenerators.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/milhoja_pypkg/src/milhoja/tests/TestCodeGenerators.py b/tools/milhoja_pypkg/src/milhoja/tests/TestCodeGenerators.py index a4698268..55a3a5ed 100644 --- a/tools/milhoja_pypkg/src/milhoja/tests/TestCodeGenerators.py +++ b/tools/milhoja_pypkg/src/milhoja/tests/TestCodeGenerators.py @@ -74,7 +74,7 @@ def run_tests(self, tests_all, dims_all, create_generator): ref = self.__load_code(ref_hdr_fname) generated = self.__load_code(header_filename) - self.assertEqual(len(ref), len(generated)) + self.assertEqual(len(ref), len(generated), f"generated != {ref_hdr_fname}") for gen_line, ref_line in zip(generated, ref): self.assertEqual(gen_line, ref_line, f"generated != {ref_hdr_fname}") @@ -95,7 +95,7 @@ def run_tests(self, tests_all, dims_all, create_generator): ref = self.__load_code(ref_src_fname) generated = self.__load_code(source_filename) - self.assertEqual(len(ref), len(generated)) + self.assertEqual(len(ref), len(generated), f"generated != {ref_src_fname}") for gen_line, ref_line in zip(generated, ref): self.assertEqual(gen_line, ref_line, f"generated != {ref_src_fname}")