comparison tests/dumbhttp.py @ 28771:9366b18ba103

tests: sort import lines in dumbhttp.py This series is an attempt to enable import-checker.py for tests/**.py, but it turned out not easy. Since many tests have been ported to absolute_import without the coverage, import-checker.py reports a lot of errors right now. Should we enable import-checker.py without fixing all of them so that we won't get more errors?
author Yuya Nishihara <yuya@tcha.org>
date Sun, 03 Apr 2016 19:40:05 +0900
parents c90cfe76e024
children 075146e85bb6
comparison
equal deleted inserted replaced
28770:97c8da2f89f9 28771:9366b18ba103
4 4
5 """ 5 """
6 Small and dumb HTTP server for use in tests. 6 Small and dumb HTTP server for use in tests.
7 """ 7 """
8 8
9 import BaseHTTPServer
10 import SimpleHTTPServer
9 import optparse 11 import optparse
10 import BaseHTTPServer
11 import signal 12 import signal
12 import SimpleHTTPServer
13 import sys 13 import sys
14 14
15 from mercurial import ( 15 from mercurial import (
16 cmdutil, 16 cmdutil,
17 ) 17 )