From: Serhiy Storchaka Date: Tue, 31 Aug 2021 17:32:01 +0000 (+0300) Subject: bpo-45059: Fix IDLE test typo: using "==" instead of "=" (GH-28086) X-Git-Tag: v3.11.0a1~287 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=54f100514b02f6628450043e21ccfe39350d7ac7;p=thirdparty%2FPython%2Fcpython.git bpo-45059: Fix IDLE test typo: using "==" instead of "=" (GH-28086) --- diff --git a/Lib/idlelib/idle_test/test_macosx.py b/Lib/idlelib/idle_test/test_macosx.py index b6bd922e4b99..193247735868 100644 --- a/Lib/idlelib/idle_test/test_macosx.py +++ b/Lib/idlelib/idle_test/test_macosx.py @@ -34,7 +34,7 @@ class InitTktypeTest(unittest.TestCase): for platform, types in ('darwin', alltypes), ('other', nontypes): with self.subTest(platform=platform): macosx.platform = platform - macosx._tk_type == None + macosx._tk_type = None macosx._init_tk_type() self.assertIn(macosx._tk_type, types)