comparison tests/test_util.py @ 492:50d77547c218

test_util: sort imports
author Augie Fackler <durin42@gmail.com>
date Tue, 15 Sep 2009 22:34:53 -0400
parents 6b481331c355
children 1fd3cfa47c5e
comparison
equal deleted inserted replaced
491:b71507d7becc 492:50d77547c218
1 import StringIO
2 import errno
1 import gettext 3 import gettext
2 import errno
3 import imp 4 import imp
4 import os 5 import os
6 import shutil
7 import stat
5 import subprocess 8 import subprocess
6 import shutil 9 import sys
7 import StringIO
8 import stat
9 import tempfile 10 import tempfile
10 import unittest 11 import unittest
11 import urllib 12 import urllib
12 13
13 import __init__ 14 import __init__
14 15
16 from mercurial import commands
15 from mercurial import context 17 from mercurial import context
16 from mercurial import commands
17 from mercurial import hg 18 from mercurial import hg
19 from mercurial import i18n
18 from mercurial import node 20 from mercurial import node
19 from mercurial import ui 21 from mercurial import ui
20 from mercurial import i18n
21 22
22 from hgsubversion import util 23 from hgsubversion import util
23 24
24 import sys
25 # Documentation for Subprocess.Popen() says: 25 # Documentation for Subprocess.Popen() says:
26 # "Note that on Windows, you cannot set close_fds to true and 26 # "Note that on Windows, you cannot set close_fds to true and
27 # also redirect the standard handles by setting stdin, stdout or 27 # also redirect the standard handles by setting stdin, stdout or
28 # stderr." 28 # stderr."
29 canCloseFds='win32' not in sys.platform 29 canCloseFds='win32' not in sys.platform