diff options
author | Zachary Ware <zach@python.org> | 2021-05-09 06:58:35 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-09 06:58:35 (GMT) |
commit | 8e8307d70bb9dc18cfeeed3277c076309b27515e (patch) | |
tree | 210ee4ec16260b9e5e07bb357b3f1c735101127c /Lib | |
parent | 801497a1152504f3181b495c0271bb9ff99df3d1 (diff) | |
download | cpython-8e8307d70bb9dc18cfeeed3277c076309b27515e.zip cpython-8e8307d70bb9dc18cfeeed3277c076309b27515e.tar.gz cpython-8e8307d70bb9dc18cfeeed3277c076309b27515e.tar.bz2 |
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 4a2d98a1e98de25c5114d11fcb0f9fedbb057e51.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_tix.py | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/Lib/test/test_tix.py b/Lib/test/test_tix.py index a2fb357..8a60c7c 100644 --- a/Lib/test/test_tix.py +++ b/Lib/test/test_tix.py @@ -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__': |