Merge branch 'pytest-2.7'

Conflicts:
	AUTHORS
	_pytest/__init__.py
	setup.py
	testing/conftest.py
	tox.ini
This commit is contained in:
holger krekel
2015-06-23 16:49:05 +02:00
11 changed files with 153 additions and 54 deletions

View File

@@ -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):