diff --git a/changelog/5478.bugfix.rst b/changelog/5478.bugfix.rst index b9e80a88e..74d58e734 100644 --- a/changelog/5478.bugfix.rst +++ b/changelog/5478.bugfix.rst @@ -1 +1 @@ -Use safe_str to serialize Exceptions in pytest.raises +Fix encode error when using unicode strings in exceptions with ``pytest.raises``.