diff options
author | sobolevn <mail@sobolevn.me> | 2024-09-14 10:20:44 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-14 10:20:44 (GMT) |
commit | 1de46136b916736487019c2f78af2bf0cadd7ecd (patch) | |
tree | 84dc63546edd54e0d3c1608c6bfc3e3fe5cc2e87 /Lib/unittest | |
parent | b02301fa5a543266ee310a6d98278d2b8e26d7b3 (diff) | |
download | cpython-1de46136b916736487019c2f78af2bf0cadd7ecd.zip cpython-1de46136b916736487019c2f78af2bf0cadd7ecd.tar.gz cpython-1de46136b916736487019c2f78af2bf0cadd7ecd.tar.bz2 |
Remove unused variable in `MagicMixin._mock_set_magics` (#124092)
Diffstat (limited to 'Lib/unittest')
-rw-r--r-- | Lib/unittest/mock.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/unittest/mock.py b/Lib/unittest/mock.py index 480c85b..1fa9027 100644 --- a/Lib/unittest/mock.py +++ b/Lib/unittest/mock.py @@ -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: |