tests/cpydiff: Indent workaround code snippet so it formats correctly.
This commit is contained in:
parent
34e224a4af
commit
c926e72750
|
@ -4,9 +4,9 @@ description: Exception.__init__ method does not exist.
|
|||
cause: Subclassing native classes is not fully supported in MicroPython.
|
||||
workaround: Call using ``super()`` instead::
|
||||
|
||||
class A(Exception):
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
class A(Exception):
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
"""
|
||||
class A(Exception):
|
||||
def __init__(self):
|
||||
|
|
Loading…
Reference in New Issue