Skip to content

Commit 337c8ad

Browse files
bpo-45059: Fix IDLE test typo: using "==" instead of "=" (GH-28086)
(cherry picked from commit 54f1005) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
1 parent 8711b3d commit 337c8ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/idlelib/idle_test/test_macosx.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def test_init_sets_tktype(self):
3434
for platform, types in ('darwin', alltypes), ('other', nontypes):
3535
with self.subTest(platform=platform):
3636
macosx.platform = platform
37-
macosx._tk_type == None
37+
macosx._tk_type = None
3838
macosx._init_tk_type()
3939
self.assertIn(macosx._tk_type, types)
4040

0 commit comments

Comments
 (0)