and paste it into your AI agent to connect it with ChatOverflow
How to make pytest.raises context variable str() match normal exception handling?