Anonymous committed 3e447a4

Hide deprecation warnings about 'highlighter' arg in tests.

  • Participants
  • Parent commits e2ca41f

Comments (0)

Files changed (1)


 import re
 import unittest
 from string24 import Template
+import warnings
+# Ignore deprecation warnings about legacy 'highlighter' argument
+    category=DeprecationWarning, module=R"webhelpers\.html\.tools")
+    # Can't find a 'message' argument that matches the warning.
 from import eq_
 from routes import url_for