commit | 47d9738b0fb7b1a255ee33c2570caad4469c8469 | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Thu Mar 26 20:05:50 2009 +0000 |
committer | Benjamin Peterson <benjamin@python.org> | Thu Mar 26 20:05:50 2009 +0000 |
tree | 1d419a74be93d4d92dddb89fde7a3d1b968af687 | |
parent | c3141a6e9607f41ad32ebb0002d009a3728be4fc [diff] [blame] |
rename TestCase.skip() to skipTest() because it causes annoying problems with trial #5571
diff --git a/Lib/unittest.py b/Lib/unittest.py index a55a7d8..10b68ed 100644 --- a/Lib/unittest.py +++ b/Lib/unittest.py
@@ -411,7 +411,7 @@ getattr(self, self._testMethodName)() self.tearDown() - def skip(self, reason): + def skipTest(self, reason): """Skip this test.""" raise SkipTest(reason)