mirror of https://github.com/python/cpython
Remove unused variable in `MagicMixin._mock_set_magics` (#124092)
This commit is contained in:
parent
b02301fa5a
commit
1de46136b9
|
@ -2166,8 +2166,6 @@ class MagicMixin(Base):
|
|||
|
||||
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:
|
||||
|
|
Loading…
Reference in New Issue