mirror of
https://github.com/python/cpython.git
synced 2025-09-17 22:20:23 +00:00
rename TestCase.skip() to skipTest() because it causes annoying problems with trial #5571
This commit is contained in:
parent
c3141a6e96
commit
47d9738b0f
3 changed files with 4 additions and 4 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue