Skip to content

Commit 8e8307d

Browse files
authored
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 commit 4a2d98a.
1 parent 801497a commit 8e8307d

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

Lib/test/test_tix.py

+3-6
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,9 @@ def setUp(self):
2626
else:
2727
self.addCleanup(self.root.destroy)
2828

29-
def test_tix_deprecation(self):
30-
with self.assertWarns(DeprecationWarning):
31-
import_helper.import_fresh_module(
32-
'tkinter.tix',
33-
fresh=('tkinter.tix',),
34-
)
29+
def test_tix_available(self):
30+
# this test is just here to make setUp run
31+
pass
3532

3633

3734
if __name__ == '__main__':

0 commit comments

Comments
 (0)