tests/cpydiff: Indent workaround code snippet so it formats correctly.

pull/1/head
Damien George 2018-03-15 15:49:38 +11:00
parent 34e224a4af
commit c926e72750
1 changed files with 3 additions and 3 deletions

View File

@ -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):