comparison contrib/perf.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 eb416759af7e
children 642e31cb55f0
comparison
equal deleted inserted replaced
48874:af0b21d5a930 48875:6000f5b25c9b
52 # 52 #
53 # We don't have to do: 53 # We don't have to do:
54 # - make perf command for recent feature work correctly with early 54 # - make perf command for recent feature work correctly with early
55 # Mercurial 55 # Mercurial
56 56
57 from __future__ import absolute_import
58 import contextlib 57 import contextlib
59 import functools 58 import functools
60 import gc 59 import gc
61 import os 60 import os
62 import random 61 import random