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

…has_calls([]) does not raise an exception

@srinivasreddy 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

Oct 22, 2018

lisroach

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@srinivasreddy

@serhiy-storchaka

Sorry, I don't understand what bug is fixed by this PR.

@methane

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.

Labels