comparison tests/run.py @ 630:093ae2915b45 1.1.2

Merge fix for pushable bookmarks.
author Augie Fackler <durin42@gmail.com>
date Tue, 06 Jul 2010 10:41:54 -0500
parents c38fe89a5cbc
children 95abc4cfc78f
comparison
equal deleted inserted replaced
627:faba8e636960 630:093ae2915b45
68 if options.demandimport: 68 if options.demandimport:
69 from mercurial import demandimport 69 from mercurial import demandimport
70 demandimport.enable() 70 demandimport.enable()
71 71
72 # silence output when running outside nose 72 # silence output when running outside nose
73 sys.stdout = os.tmpfile() 73 import tempfile
74 sys.stdout = tempfile.TemporaryFile()
74 75
75 all = tests() 76 all = tests()
76 del all['test_util'] 77 del all['test_util']
77 78
78 args = [i.split('.py')[0].replace('-', '_') for i in args] 79 args = [i.split('.py')[0].replace('-', '_') for i in args]