Skip to content

Commit

Permalink
Add **kwargs to _back() method to fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
eforgacs committed May 2, 2023
1 parent 5518522 commit 5aeb4cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pygame_menu/menu.py
Original file line number Diff line number Diff line change
Expand Up @@ -1231,7 +1231,7 @@ def _update_after_remove_or_hidden(
# If added on execution time forces the update of the surface
self._widgets_surface = None

def _back(self) -> None:
def _back(self, **kwargs) -> None:
"""
Go to previous Menu or close if the top Menu is currently displayed.
"""
Expand Down

0 comments on commit 5aeb4cb

Please sign in to comment.