Skip to content

Commit 183f2b0

Browse files
committed
TST, CLN remove unnecessary instance recreation
1 parent 88d19c0 commit 183f2b0

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

Lib/test/pickletester.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3115,8 +3115,6 @@ def reduce_bbb(obj):
31153115

31163116
dispatch_table[BBB] = reduce_bbb
31173117

3118-
b = BBB()
3119-
31203118
# The custom reducer reduce_bbb includes a state setter, that should
31213119
# have priority over BBB.__setstate__
31223120
self.assertEqual(custom_load_dump(b).a, "custom state_setter")

0 commit comments

Comments
 (0)