mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
bpo-45059: Fix IDLE test typo: using "==" instead of "=" (GH-28086)
(cherry picked from commit 54f100514b)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
This commit is contained in:
parent
8711b3d0ac
commit
337c8adf31
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ def test_init_sets_tktype(self):
|
||||||
for platform, types in ('darwin', alltypes), ('other', nontypes):
|
for platform, types in ('darwin', alltypes), ('other', nontypes):
|
||||||
with self.subTest(platform=platform):
|
with self.subTest(platform=platform):
|
||||||
macosx.platform = platform
|
macosx.platform = platform
|
||||||
macosx._tk_type == None
|
macosx._tk_type = None
|
||||||
macosx._init_tk_type()
|
macosx._init_tk_type()
|
||||||
self.assertIn(macosx._tk_type, types)
|
self.assertIn(macosx._tk_type, types)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue