Mercurial > hg
comparison tests/test-hashutil.py @ 48875:6000f5b25c9b
py2: remove simple from __future__ statements
These were needed for Python 2 support. Now that our linter no longer
mandates these, we can start deleting them.
Differential Revision: https://phab.mercurial-scm.org/D12254
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Thu, 03 Mar 2022 17:34:00 +0100 |
parents | dc9b53482689 |
children | 642e31cb55f0 |
comparison
equal
deleted
inserted
replaced
48874:af0b21d5a930 | 48875:6000f5b25c9b |
---|---|
1 # Tests to ensure that sha1dc.sha1 is exactly a drop-in for | 1 # Tests to ensure that sha1dc.sha1 is exactly a drop-in for |
2 # hashlib.sha1 for our needs. | 2 # hashlib.sha1 for our needs. |
3 from __future__ import absolute_import | |
4 | 3 |
5 import hashlib | 4 import hashlib |
6 import unittest | 5 import unittest |
7 | 6 |
8 import silenttestrunner | 7 import silenttestrunner |