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
Originally reported by: realcr realcr (BitBucket: realcr, GitHub: realcr)
Hi, I have seen the following piece of code in the documentation at http://pytest.org/latest/assert.html#assert-with-the-assert-statement :
#!python def test_recursion_depth(): with pytest.raises(RuntimeError) as excinfo: def f(): f() f() assert 'maximum recursion' in str(excinfo.value)
I assume that the assert line should be indented one more level to the right. I might be wrong about it though.
The text was updated successfully, but these errors were encountered:
Original comment by realcr realcr (BitBucket: realcr, GitHub: realcr):
I was wrong. The assert shouldn't be indented. I checked it. Sorry :)
Sorry, something went wrong.
No branches or pull requests
Originally reported by: realcr realcr (BitBucket: realcr, GitHub: realcr)
Hi,
I have seen the following piece of code in the documentation at http://pytest.org/latest/assert.html#assert-with-the-assert-statement :
I assume that the assert line should be indented one more level to the right. I might be wrong about it though.
The text was updated successfully, but these errors were encountered: