Skip to content

Commit

Permalink
Remove unused variable in MagicMixin._mock_set_magics
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn committed Sep 14, 2024
1 parent b02301f commit c64fe1d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Lib/unittest/mock.py
Original file line number Diff line number Diff line change
Expand Up @@ -2166,8 +2166,6 @@ def _mock_set_magics(self):

if getattr(self, "_mock_methods", None) is not None:
these_magics = orig_magics.intersection(self._mock_methods)

remove_magics = set()
remove_magics = orig_magics - these_magics

for entry in remove_magics:
Expand Down

0 comments on commit c64fe1d

Please sign in to comment.