diff options
author | Benjamin Peterson <benjamin@python.org> | 2009-03-26 20:05:50 +0000 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2009-03-26 20:05:50 +0000 |
commit | 47d9738b0fb7b1a255ee33c2570caad4469c8469 (patch) | |
tree | 1d419a74be93d4d92dddb89fde7a3d1b968af687 /Lib/unittest.py | |
parent | c3141a6e9607f41ad32ebb0002d009a3728be4fc (diff) | |
download | cpython-git-47d9738b0fb7b1a255ee33c2570caad4469c8469.tar.gz |
rename TestCase.skip() to skipTest() because it causes annoying problems with trial #5571
Diffstat (limited to 'Lib/unittest.py')
-rw-r--r-- | Lib/unittest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/unittest.py b/Lib/unittest.py index a55a7d848e..10b68ed6fd 100644 --- a/Lib/unittest.py +++ b/Lib/unittest.py @@ -411,7 +411,7 @@ class TestCase(object): getattr(self, self._testMethodName)() self.tearDown() - def skip(self, reason): + def skipTest(self, reason): """Skip this test.""" raise SkipTest(reason) |