Skip to content

Commit 149c88b

Browse files
committed
remove redundant decalaration of test_dict.
1 parent 2bc82af commit 149c88b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Lib/test/test_defaultdict.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,11 +189,9 @@ def test_union(self):
189189
def test_factory_conflict_with_set_value(self):
190190
key = "conflict_test"
191191
count = 0
192-
test_dict = None
193192

194193
def default_factory():
195194
nonlocal count
196-
nonlocal test_dict
197195
count += 1
198196
local_count = count
199197
if count == 1:

0 commit comments

Comments
 (0)