Skip to content

0.23.0

Compare
Choose a tag to compare
@getsentry-bot getsentry-bot released this 10 Mar 16:47
  • Add Python 3.11 support
  • Fix type annotations of CallList. See #593
  • request object is attached to any custom exception provided as Response body argument. See #588
  • Fixed mocked responses leaking between tests when assert_all_requests_are_fired and a request was not fired.
  • [BETA] Default recorder format was changed to YAML. Added responses.RequestsMock._parse_response_file and
    responses._recorder.Recorder.dump_to_file methods that allow users to override default parser to eg toml, json