Merge branch 'pytest-2.7'
Conflicts: AUTHORS _pytest/__init__.py setup.py testing/conftest.py tox.ini
This commit is contained in:
@@ -46,6 +46,7 @@ class TestRaises:
|
||||
1/0
|
||||
print (excinfo)
|
||||
assert excinfo.type == ZeroDivisionError
|
||||
assert isinstance(excinfo.value, ZeroDivisionError)
|
||||
|
||||
def test_noraise():
|
||||
with pytest.raises(pytest.raises.Exception):
|
||||
|
||||
Reference in New Issue
Block a user