Skip to content

Commit

Permalink
Revert test for Tix deprecation warning (GH-26005)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
zware authored May 9, 2021
1 parent 801497a commit 8e8307d
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions Lib/test/test_tix.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,9 @@ def setUp(self):
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__':
Expand Down

0 comments on commit 8e8307d

Please sign in to comment.