summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2021-08-31 17:32:01 (GMT)
committerGitHub <noreply@github.com>2021-08-31 17:32:01 (GMT)
commit54f100514b02f6628450043e21ccfe39350d7ac7 (patch)
tree56fb2c92685f0e984336a397a66260e92dd2a073 /Lib/idlelib
parent51999c960e7fc45feebd629421dec6524a5fc803 (diff)
downloadcpython-54f100514b02f6628450043e21ccfe39350d7ac7.zip
cpython-54f100514b02f6628450043e21ccfe39350d7ac7.tar.gz
cpython-54f100514b02f6628450043e21ccfe39350d7ac7.tar.bz2
bpo-45059: Fix IDLE test typo: using "==" instead of "=" (GH-28086)
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)