kopia lustrzana https://github.com/micropython/micropython-lib
unittest: TestCase: Add (dummy) __init__.
Mostly to workaround inherited MicroPython's issues with inheritance. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>pull/488/head
rodzic
f09d2ec608
commit
5d3a44cb1c
|
@ -30,6 +30,9 @@ class AssertRaisesContext:
|
|||
|
||||
|
||||
class TestCase:
|
||||
def __init__(self):
|
||||
pass
|
||||
|
||||
def fail(self, msg=""):
|
||||
assert False, msg
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue