Mercurial > public > mercurial-scm > hg-stable
diff hgdemandimport/demandimportpy3.py @ 49929:31bbf7a28a75
pytype: add coverage for hgdemandimport
This would have flagged what needed fixing in 48e38b179106 long ago.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Wed, 04 Jan 2023 17:15:19 -0500 |
parents | e0c0545e2e55 |
children | f4733654f144 |
line wrap: on
line diff
--- a/hgdemandimport/demandimportpy3.py Fri Dec 16 17:46:20 2022 +0100 +++ b/hgdemandimport/demandimportpy3.py Wed Jan 04 17:15:19 2023 -0500 @@ -37,6 +37,8 @@ the ignore list. """ + _HAS_DYNAMIC_ATTRIBUTES = True # help pytype not flag self.loader + def exec_module(self, module): """Make the module load lazily.""" with tracing.log('demandimport %s', module):