Merge branch 'fix-test_raises_exception_looks_iterable' into merge-master
This commit is contained in:
commit
539d3dc34d
|
@ -197,7 +197,8 @@ class TestRaises(object):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
with pytest.raises(
|
with pytest.raises(
|
||||||
Failed, match="DID NOT RAISE <class 'raises.ClassLooksIterableException'>"
|
Failed,
|
||||||
|
match=r"DID NOT RAISE <class 'raises(\..*)*ClassLooksIterableException'>",
|
||||||
):
|
):
|
||||||
pytest.raises(ClassLooksIterableException, lambda: None)
|
pytest.raises(ClassLooksIterableException, lambda: None)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue