bpo-45059: Fix IDLE test typo: using "==" instead of "=" (GH-28086)

This commit is contained in:
Serhiy Storchaka 2021-08-31 20:32:01 +03:00 committed by GitHub
parent 51999c960e
commit 54f100514b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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)