Open
Description
Documentation
The autospeccing section, in the reference for the unittest.mock module, includes an example with request.Request. The has_data method of Request is used, but it was removed in Python 3.4. A Pull Request is provided to use the header_items method instead, so the reader will see the expected result if they run the example in their PC.
Linked PRs
Metadata
Metadata
Assignees
Projects
Status
Todo