Cleanup a couple of comments left on PR 28775 post-merge. (GH-29079)

This commit is contained in:
Gregory P. Smith 2021-10-20 09:17:52 -07:00 committed by GitHub
parent 81520fe677
commit 1dfac27dff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -1379,7 +1379,7 @@ def add_child_handler(self, pid, callback, *args):
def remove_child_handler(self, pid):
# asyncio never calls remove_child_handler() !!!
# The method is no-op but is implemented because
# abstract base classes requires it
# abstract base classes require it.
return True
def attach_loop(self, loop):

View file

@ -971,7 +971,7 @@ def test_add_and_hidden(self):
tabs = self.nb.tabs()
curr = self.nb.index('current')
# verify that the tab gets read at its previous position
# verify that the tab gets re-added at its previous position
child2_index = self.nb.index(self.child2)
self.nb.hide(self.child2)
self.nb.add(self.child2)