def test_excinfo_errisinstance():
-> excinfo = py.test.raises(ValueError, h)
assert excinfo.errisinstance(ValueError)