We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PyHamcrest==1.9.0
I'm having trouble catching the SystemExit exception with calling, raises. Example gist
SystemExit
calling, raises
https://gist.github.com/danodonovan/042e1c74ea76cbea39b42f5c8733ede0
Briefly;
def call_exit(): raise SystemExit assert_that(calling(call_exit), raises(SystemExit))
fails as SystemExit is called, rather than caught.
The text was updated successfully, but these errors were encountered:
I think this can be closed, @offbyone.
Sorry, something went wrong.
No branches or pull requests
PyHamcrest==1.9.0
I'm having trouble catching the
SystemExit
exception withcalling, raises
. Example gisthttps://gist.github.com/danodonovan/042e1c74ea76cbea39b42f5c8733ede0
Briefly;
fails as
SystemExit
is called, rather than caught.The text was updated successfully, but these errors were encountered: