summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-08-31 17:50:42 (GMT)
committerGitHub <noreply@github.com>2021-08-31 17:50:42 (GMT)
commit337c8adf31c46b688a5f82bcb64dc6f1ad56703d (patch)
treee3b9646c3cb24a80222e19169c832157caa85f03 /Lib/idlelib
parent8711b3d0ac89599fcd16edcb107169bb19a00737 (diff)
downloadcpython-337c8adf31c46b688a5f82bcb64dc6f1ad56703d.zip
cpython-337c8adf31c46b688a5f82bcb64dc6f1ad56703d.tar.gz
cpython-337c8adf31c46b688a5f82bcb64dc6f1ad56703d.tar.bz2
bpo-45059: Fix IDLE test typo: using "==" instead of "=" (GH-28086)
(cherry picked from commit 54f100514b02f6628450043e21ccfe39350d7ac7) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Lib/idlelib')
-rw-r--r--Lib/idlelib/idle_test/test_macosx.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/idle_test/test_macosx.py b/Lib/idlelib/idle_test/test_macosx.py
index b6bd922..1932477 100644
--- a/Lib/idlelib/idle_test/test_macosx.py
+++ b/Lib/idlelib/idle_test/test_macosx.py
@@ -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)