diff --git a/tests/test_plot/test_int_bom.py b/tests/test_plot/test_int_bom.py index d8bc3ed8..700a9205 100644 --- a/tests/test_plot/test_int_bom.py +++ b/tests/test_plot/test_int_bom.py @@ -75,7 +75,7 @@ KIBOM_TEST_COMPONENTS_ALT = ['C1-C4', 'R9-R10', 'R7', 'R8', 'R1-R5'] KIBOM_TEST_COMPONENTS_ALT2 = ['C1-C4', 'R9-R10', 'R7', 'R8', 'R1-R2', 'R4-R5', 'R3'] KIBOM_TEST_EXCLUDE = ['R6'] KIBOM_TEST_GROUPS = 5 -LINK_HEAD = ['References', 'Part', 'Value', 'Quantity Per PCB', 'digikey#', 'digikey_alt#','manf#'] +LINK_HEAD = ['References', 'Part', 'Value', 'Quantity Per PCB', 'digikey#', 'digikey_alt#', 'manf#'] LINKS_COMPONENTS = ['J1', 'J2', 'R1'] LINKS_EXCLUDE = ['C1'] LINKS_GROUPS = 2 diff --git a/tests/test_plot/test_yaml_errors.py b/tests/test_plot/test_yaml_errors.py index fefac177..a3d36c0a 100644 --- a/tests/test_plot/test_yaml_errors.py +++ b/tests/test_plot/test_yaml_errors.py @@ -512,4 +512,3 @@ def test_error_int_bom_unknown_style(): ctx.run(EXIT_BAD_CONFIG) assert ctx.search_err("Unknown style .?bogus.?") ctx.clean_up() - diff --git a/tests/utils/context.py b/tests/utils/context.py index 8241fce0..209941da 100644 --- a/tests/utils/context.py +++ b/tests/utils/context.py @@ -393,7 +393,7 @@ class TestContext(object): if m: stats = m.group(1) stats_entries = [] - for tit, val in re.findall('(.*?):\s+(\d+).*?
', stats): + for tit, val in re.findall(r'(.*?):\s+(\d+).*?
', stats): val = int(val) sh_head['stats_'+tit] = val stats_entries.append(val)