From 4846a4672e766c77194edbff32c3b13ee4343b73 Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Thu, 14 Oct 2021 14:57:24 -0300 Subject: [PATCH] More adjusts to tests because new warning --- tests/test_plot/test_print_sch.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_plot/test_print_sch.py b/tests/test_plot/test_print_sch.py index 63b97107..2f840182 100644 --- a/tests/test_plot/test_print_sch.py +++ b/tests/test_plot/test_print_sch.py @@ -142,7 +142,7 @@ def test_sch_missing_1(test_dir): ctx.search_err("Component .?Resistor.? doesn't specify its library") ctx.search_err("Missing component .?l1:FooBar.?") ctx.search_err("Missing component(.*)Resistor", invert=True) - ctx.search_out(r"Found 3 unique warning/s \(4 total\)") + ctx.search_out(r"Found 3 unique warning/s \(") ctx.clean_up() @@ -157,7 +157,7 @@ def test_sch_missing_filtered(test_dir): ctx.search_err("Component .?Resistor.? doesn't specify its library") ctx.search_err("Missing component .?l1:FooBar.?", invert=True) ctx.search_err("Missing component(.*)Resistor", invert=True) - ctx.search_out(r"Found 2 unique warning/s \(4 total, 2 filtered\)") + ctx.search_out(r"Found 2 unique warning/s \(\d+ total, \d+ filtered\)") ctx.clean_up()