mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Revert test for Tix deprecation warning (GH-26005)
Added in bpo-41730 (GH-22186), the test apparently causes refleaks. The test isn't worth hunting them down, so it's simply reverted. This partially reverts commit4a2d98a1e9
. (cherry picked from commit8e8307d70b
) Co-authored-by: Zachary Ware <zach@python.org>
This commit is contained in:
parent
70ff820046
commit
c3eb3c18f1
1 changed files with 3 additions and 6 deletions
|
@ -26,12 +26,9 @@ class TestTix(unittest.TestCase):
|
|||
else:
|
||||
self.addCleanup(self.root.destroy)
|
||||
|
||||
def test_tix_deprecation(self):
|
||||
with self.assertWarns(DeprecationWarning):
|
||||
import_helper.import_fresh_module(
|
||||
'tkinter.tix',
|
||||
fresh=('tkinter.tix',),
|
||||
)
|
||||
def test_tix_available(self):
|
||||
# this test is just here to make setUp run
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue