mirror of
https://github.com/python/cpython.git
synced 2025-01-25 02:24:25 +08:00
bpo-43981: Fix reference leaks in test_squeezer (GH-25758)
This commit is contained in:
parent
665c7746fc
commit
6689e45dfe
@ -311,6 +311,7 @@ class ExpandingButtonTest(unittest.TestCase):
|
||||
squeezer = Mock()
|
||||
squeezer.editwin.text = Text(root)
|
||||
squeezer.editwin.per = Percolator(squeezer.editwin.text)
|
||||
self.addCleanup(squeezer.editwin.per.close)
|
||||
|
||||
# Set default values for the configuration settings.
|
||||
squeezer.auto_squeeze_min_lines = 50
|
||||
|
@ -0,0 +1 @@
|
||||
Fix reference leak in test_squeezer. Patch by Pablo Galindo
|
Loading…
Reference in New Issue
Block a user