kopia lustrzana https://github.com/micropython/micropython-lib
unittest: Add TestCase.skipTest() method.
Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>pull/488/head
rodzic
5d3a44cb1c
commit
7d77774027
|
@ -33,6 +33,9 @@ class TestCase:
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
def skipTest(self, reason):
|
||||||
|
raise SkipTest(reason)
|
||||||
|
|
||||||
def fail(self, msg=""):
|
def fail(self, msg=""):
|
||||||
assert False, msg
|
assert False, msg
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue