Mercurial > hgsubversion
comparison tests/test_startrev.py @ 832:e9af7eba88db
globally: clean up whitespace around operators and commas to conform with PEP8
Mostly autoformatted by Eclipse. A few manual corrections were
performed where Eclipse's autoformatter did something non-idiomatic.
author | Yonggang Luo <luoyonggang@gmail.com> |
---|---|
date | Wed, 12 Oct 2011 15:35:25 +0800 |
parents | d101b39f6c51 |
children | 312b37bc5e20 |
comparison
equal
deleted
inserted
replaced
831:be5bbb2f2d68 | 832:e9af7eba88db |
---|---|
59 bname = 'test_' + case[:-len('.svndump')] | 59 bname = 'test_' + case[:-len('.svndump')] |
60 attrs[bname] = buildmethod(case, bname, subdir, False) | 60 attrs[bname] = buildmethod(case, bname, subdir, False) |
61 name = bname + '_stupid' | 61 name = bname + '_stupid' |
62 attrs[name] = buildmethod(case, name, subdir, True) | 62 attrs[name] = buildmethod(case, name, subdir, True) |
63 | 63 |
64 StartRevTests = type('StartRevTests', (test_util.TestBase, ), attrs) | 64 StartRevTests = type('StartRevTests', (test_util.TestBase,), attrs) |
65 | 65 |
66 | 66 |
67 def suite(): | 67 def suite(): |
68 all = [unittest.TestLoader().loadTestsFromTestCase(StartRevTests), | 68 all = [unittest.TestLoader().loadTestsFromTestCase(StartRevTests), |
69 ] | 69 ] |