##// END OF EJS Templates
typing: suppress an import-error warning in `mercurial/utils/resourceutil.py`...
Matt Harbison -
r48821:c0588d38 default
parent child Browse files
Show More
@@ -57,7 +57,7 b' else:'
57 try:
57 try:
58 # importlib.resources exists from Python 3.7; see fallback in except clause
58 # importlib.resources exists from Python 3.7; see fallback in except clause
59 # further down
59 # further down
60 from importlib import resources
60 from importlib import resources # pytype: disable=import-error
61
61
62 # Force loading of the resources module
62 # Force loading of the resources module
63 resources.open_binary # pytype: disable=module-attr
63 resources.open_binary # pytype: disable=module-attr
General Comments 0
You need to be logged in to leave comments. Login now