]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-45059: Fix IDLE test typo: using "==" instead of "=" (GH-28086)
authorSerhiy Storchaka <storchaka@gmail.com>
Tue, 31 Aug 2021 17:32:01 +0000 (20:32 +0300)
committerGitHub <noreply@github.com>
Tue, 31 Aug 2021 17:32:01 +0000 (13:32 -0400)
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)