mercurial/utils/resourceutil.py
changeset 43905 4d59cc8bda65
parent 43871 1390bb81163e
child 43955 75ec46c63657
--- a/mercurial/utils/resourceutil.py	Mon Dec 16 17:10:51 2019 -0500
+++ b/mercurial/utils/resourceutil.py	Sun Dec 15 23:46:10 2019 -0500
@@ -40,11 +40,11 @@
     import importlib
 
     # Force loading of the resources module
-    importlib.resources.open_binary
+    importlib.resources.open_binary  # pytype: disable=module-attr
 
     def open_resource(package, name):
         package = b'mercurial.' + package
-        return importlib.resources.open_binary(
+        return importlib.resources.open_binary(  # pytype: disable=module-attr
             pycompat.sysstr(package), pycompat.sysstr(name)
         )