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
message
wait
To allow debugging information to be included in failure exceptions. This would play the same role as the expression in an assert statement.
The text was updated successfully, but these errors were encountered:
@jimfulton Could you provide a code example? I have no idea what you mean.
Sorry, something went wrong.
wait((lambda : foo == 0), message=lambda : 'foo non-zero: {}'.format(foo))
Note that this allows us to see what foo actually is, without having to resort to pdb.
Ah, you seem to be talking about https://github.com/zopefoundation/zope.testing/blob/master/src/zope/testing/wait.py. Sorry for my ignorance, I did not even know that this module exists.
No branches or pull requests
To allow debugging information to be included in failure exceptions. This would play the same role as the expression in an assert statement.
The text was updated successfully, but these errors were encountered: