pytype: suppress the import-error in util.py when importing re2
authorMatt Harbison <matt_harbison@yahoo.com>
Sun, 15 Dec 2019 21:22:27 -0500
changeset 43879 40bd667491a7
parent 43878 38d6aa768310
child 43880 eff050dbb703
pytype: suppress the import-error in util.py when importing re2 Differential Revision: https://phab.mercurial-scm.org/D7672
mercurial/util.py
--- a/mercurial/util.py	Sun Dec 15 18:30:16 2019 -0500
+++ b/mercurial/util.py	Sun Dec 15 21:22:27 2019 -0500
@@ -2119,7 +2119,7 @@
 
 
 try:
-    import re2
+    import re2  # pytype: disable=import-error
 
     _re2 = None
 except ImportError: