bpo-24653: Fix the documentation that passing an empty list to assert_has_calls([]) does not raise an exception by srinivasreddy · Pull Request #9882 · python/cpython
Conversation
srinivasreddy
changed the title
Closes bpo-24653: Fix the documentation that passing an empty list to assert_has_calls([]) does not raise an exception
bpo-24653: Fix the documentation that passing an empty list to assert_has_calls([]) does not raise an exception
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
I think this is just redundant.
- Who want to call this API without empty list? It doesn't make sense.
- The behavior for empty list can be derived from existing document.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters