kopia lustrzana https://github.com/micropython/micropython-lib
unittest: Add `assertFalse` to `TestCase`
rodzic
e1f42dcd91
commit
c7a9f63686
|
@ -35,6 +35,9 @@ class TestCase:
|
||||||
return
|
return
|
||||||
raise
|
raise
|
||||||
|
|
||||||
|
def assertFalse(self, x, msg=''):
|
||||||
|
assert not x, msg
|
||||||
|
|
||||||
|
|
||||||
def skip(msg):
|
def skip(msg):
|
||||||
def _decor(fun):
|
def _decor(fun):
|
||||||
|
|
Ładowanie…
Reference in New Issue