Created
February 20, 2020 19:44
-
-
Save andrewgodwin/884f997261d8d754663344c5f9341794 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import builtins | |
class FakeBaseException(BaseException): | |
pass | |
builtins.BaseException = FakeBaseException | |
try: | |
raise ValueError("boo") | |
except BaseException as e: | |
pass |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment