summaryrefslogtreecommitdiff
path: root/gerbonara/gerber/tests/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'gerbonara/gerber/tests/utils.py')
-rw-r--r--gerbonara/gerber/tests/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gerbonara/gerber/tests/utils.py b/gerbonara/gerber/tests/utils.py
index bf30a1f..a3da40b 100644
--- a/gerbonara/gerber/tests/utils.py
+++ b/gerbonara/gerber/tests/utils.py
@@ -74,7 +74,7 @@ def reference(request, print_on_error):
print_on_error(f'Reference file: {ref}')
def filter_syntax_warnings(fun):
- a = pytest.mark.filterwarnings('ignore:Deprecated.*statement found.*:DeprecationWarning')
+ a = pytest.mark.filterwarnings('ignore:.*Deprecated.*statement found.*:DeprecationWarning')
b = pytest.mark.filterwarnings('ignore::SyntaxWarning')
return a(b(fun))