Lemmons / pytest-raises

An implementation of pytest.raises as a pytest.mark fixture
MIT License
19 stars 8 forks source link

Compose failure message variable before branching based on marker name #31

Closed jayaddison closed 9 months ago

jayaddison commented 1 year ago

Possible fix for #30.

Tests pass with this in place on Python 3.11, but I don't know what the root cause of #30 was yet.

jayaddison commented 9 months ago

(cleaning up some of my stale / inactive repositories; doing that has caused this to be closed, but please feel free to re-use the code from this pull request)