Chromium Code Reviews| Index: tests/git_cl_test.py |
| diff --git a/tests/git_cl_test.py b/tests/git_cl_test.py |
| index 68be49f792cccf455404b6dfe0428cfa4c43e64a..122bd61d9a089a22f80818fb1e2b4a9f63bbc6a8 100755 |
| --- a/tests/git_cl_test.py |
| +++ b/tests/git_cl_test.py |
| @@ -101,9 +101,9 @@ class TestGitCl(TestCase): |
| git_cl.settings = None |
| def tearDown(self): |
| + super(TestGitCl, self).tearDown() |
| if not self.has_failed(): |
|
M-A Ruel
2015/04/19 19:32:28
In general; I do:
try:
<cleanup>
finally:
sup
wychen
2015/04/20 17:44:43
This does look more readable. Modified to your sty
|
| self.assertEquals([], self.calls) |
| - super(TestGitCl, self).tearDown() |
| def _mocked_call(self, *args, **_kwargs): |
| self.assertTrue( |