tests/testlib/badserverext.py
changeset 48875 6000f5b25c9b
parent 48637 5154f2025d8a
child 48946 642e31cb55f0
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 (