"Raise SomeException() from None" is a common Python idiom to suppress chained exceptions and thus shouldn't trigger a warning on a version of Python that doesn't support them in the first place.
3 lines
85 B
Text
3 lines
85 B
Text
Caught Exception
|
|
Warning: exception chaining not supported
|
|
Caught Exception: Runtime
|