From 080e84517e967efd19d0535b9268b03398a457f1 Mon Sep 17 00:00:00 2001 From: Cole Robinson Date: Mon, 14 Sep 2020 09:57:23 -0400 Subject: [PATCH] tests: test_dist: filter out harmless xgettext warning Signed-off-by: Cole Robinson --- tests/test_dist.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_dist.py b/tests/test_dist.py index 68e1c46b..197d12de 100644 --- a/tests/test_dist.py +++ b/tests/test_dist.py @@ -45,6 +45,8 @@ def test_validate_pot_strings(): stderr=subprocess.STDOUT) warnings = [l for l in out.decode("utf-8").splitlines() if "warning:" in l] + warnings = [w for w in warnings + if "a fallback ITS rule file" not in w] if warnings: raise AssertionError("xgettext has warnings:\n\n%s" % "\n".join(warnings))