comparison tests/testlib/badserverext.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 5154f2025d8a
children 642e31cb55f0
comparison
equal deleted inserted replaced
48874:af0b21d5a930 48875:6000f5b25c9b
42 If defined, close the client socket after the configured regexp is seen. 42 If defined, close the client socket after the configured regexp is seen.
43 (The value is a list, multiple values can use used to close a series of requests 43 (The value is a list, multiple values can use used to close a series of requests
44 request) 44 request)
45 """ 45 """
46 46
47 from __future__ import absolute_import
48 47
49 import re 48 import re
50 import socket 49 import socket
51 50
52 from mercurial import ( 51 from mercurial import (