Closed klinga closed 3 years ago
fix indentation in exception assertion errors
correct way to assert: with pytest.raises(Exception) as exc: do_something() assert "err msg" in str(exc.value)
fixed in 1d637c0
fix indentation in exception assertion errors
correct way to assert: with pytest.raises(Exception) as exc: do_something() assert "err msg" in str(exc.value)