Skip to content

Latest commit

 

History

History
3 lines (3 loc) · 160 Bytes

2022-01-23-18-04-45.bpo-41403.SgoHqV.rst

File metadata and controls

3 lines (3 loc) · 160 Bytes

Make :meth:`mock.patch` raise a :exc:`TypeError` with a relevant error message on invalid arg. Previously it allowed a cryptic :exc:`AttributeError` to escape.