Mercurial > hg-stable
diff contrib/import-checker.py @ 48970:9987d14ad63f
py2: drop some more from __future__ statements
These are no longer needed after dropping support for Python 2.
Differential Revision: https://phab.mercurial-scm.org/D12258
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sun, 20 Feb 2022 15:35:09 -0700 |
parents | 6000f5b25c9b |
children | 8dec9abf2669 |
line wrap: on
line diff
--- a/contrib/import-checker.py Sun Feb 20 15:31:33 2022 -0700 +++ b/contrib/import-checker.py Sun Feb 20 15:35:09 2022 -0700 @@ -626,7 +626,6 @@ All module names recorded in `imports` should be absolute one. - >>> from __future__ import print_function >>> imports = {'top.foo': ['top.bar', 'os.path', 'top.qux'], ... 'top.bar': ['top.baz', 'sys'], ... 'top.baz': ['top.foo'],