File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 24
24
# Python <3.11 doesn't have ExceptionGroup, so define a simple one
25
25
class ExceptionGroup (Exception ):
26
26
def __init__ (self , message , errors ):
27
- message += "\n " + "\n " .join (e . __str__ ( ) for e in errors )
27
+ message += "\n " + "\n " .join (str ( e ) for e in errors )
28
28
super ().__init__ (message )
29
29
30
30
Original file line number Diff line number Diff line change 28
28
# Python <3.11 doesn't have ExceptionGroup, so define a simple one
29
29
class ExceptionGroup (Exception ):
30
30
def __init__ (self , message , errors ):
31
- message += "\n " + "\n " .join (e . __str__ ( ) for e in errors )
31
+ message += "\n " + "\n " .join (str ( e ) for e in errors )
32
32
super ().__init__ (message )
33
33
34
34
logger = logging .getLogger (__name__ )
Original file line number Diff line number Diff line change 28
28
# Python <3.11 doesn't have ExceptionGroup, so define a simple one
29
29
class ExceptionGroup (Exception ):
30
30
def __init__ (self , message , errors ):
31
- message += "\n " + "\n " .join (e . __str__ ( ) for e in errors )
31
+ message += "\n " + "\n " .join (str ( e ) for e in errors )
32
32
super ().__init__ (message )
33
33
34
34
logger = logging .getLogger (__name__ )
Original file line number Diff line number Diff line change 26
26
# Python <3.11 doesn't have ExceptionGroup, so define a simple one
27
27
class ExceptionGroup (Exception ):
28
28
def __init__ (self , message , errors ):
29
- message += "\n " + "\n " .join (e . __str__ ( ) for e in errors )
29
+ message += "\n " + "\n " .join (str ( e ) for e in errors )
30
30
super ().__init__ (message )
31
31
32
32
logger = logging .getLogger (__name__ )
Original file line number Diff line number Diff line change 28
28
# Python <3.11 doesn't have ExceptionGroup, so define a simple one
29
29
class ExceptionGroup (Exception ):
30
30
def __init__ (self , message , errors ):
31
- message += "\n " + "\n " .join (e . __str__ ( ) for e in errors )
31
+ message += "\n " + "\n " .join (str ( e ) for e in errors )
32
32
super ().__init__ (message )
33
33
34
34
logger = logging .getLogger (__name__ )
You can’t perform that action at this time.
0 commit comments