]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Revert test for Tix deprecation warning (GH-26005)
authorZachary Ware <zach@python.org>
Sun, 9 May 2021 06:58:35 +0000 (01:58 -0500)
committerGitHub <noreply@github.com>
Sun, 9 May 2021 06:58:35 +0000 (01:58 -0500)
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.

Lib/test/test_tix.py

index a2fb357fd0c500be7317c9c26c29ae65cc4713e6..8a60c7c8e1fbd57fcafce8e474bf901325ea31bf 100644 (file)
@@ -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__':