Skip to content

Commit

Permalink
Merge branch 'fix-test_raises_exception_looks_iterable' into merge-ma…
Browse files Browse the repository at this point in the history
…ster
  • Loading branch information
blueyed committed Dec 10, 2018
2 parents 0db5ccb + 5ecbb02 commit 539d3dc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion testing/python/raises.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,8 @@ class ClassLooksIterableException(Exception):
pass

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)

Expand Down

0 comments on commit 539d3dc

Please sign in to comment.