Skip to content

Commit

Permalink
more information
Browse files Browse the repository at this point in the history
(cherry picked from commit 45b5bdb)
  • Loading branch information
ylee88 authored and kweide committed Nov 21, 2024
1 parent da53c95 commit 6cf605a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/milhoja_pypkg/src/milhoja/tests/TestCodeGenerators.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}")

Expand All @@ -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}")

Expand Down

0 comments on commit 6cf605a

Please sign in to comment.