From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sun, 9 May 2021 07:19:43 +0000 (-0700) Subject: Revert test for Tix deprecation warning (GH-26005) X-Git-Tag: v3.10.0b2~125 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c3eb3c18f1472b739db486c99f7f2125c4809680;p=thirdparty%2FPython%2Fcpython.git 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. (cherry picked from commit 8e8307d70bb9dc18cfeeed3277c076309b27515e) Co-authored-by: Zachary Ware --- diff --git a/Lib/test/test_tix.py b/Lib/test/test_tix.py index a2fb357fd0c5..8a60c7c8e1fb 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__':