]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-45059: Fix IDLE test typo: using "==" instead of "=" (GH-28086)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 31 Aug 2021 17:53:42 +0000 (10:53 -0700)
committerGitHub <noreply@github.com>
Tue, 31 Aug 2021 17:53:42 +0000 (10:53 -0700)
(cherry picked from commit 54f100514b02f6628450043e21ccfe39350d7ac7)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/idlelib/idle_test/test_macosx.py

index b6bd922e4b99dd47356227c9e9382ac6ecfc974a..1932477358689639281f1866b78713e30d75942e 100644 (file)
@@ -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)