summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/idle_test
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-08-31 17:53:42 (GMT)
committerGitHub <noreply@github.com>2021-08-31 17:53:42 (GMT)
commitc1db7598790d037e58cd99c06d5c166433d63322 (patch)
treee89cdbe4efc15bafd9317d207525da18ec3813b3 /Lib/idlelib/idle_test
parent5f66ad09ff2c51521e1512888cac84e0cc0907d4 (diff)
downloadcpython-c1db7598790d037e58cd99c06d5c166433d63322.zip
cpython-c1db7598790d037e58cd99c06d5c166433d63322.tar.gz
cpython-c1db7598790d037e58cd99c06d5c166433d63322.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/idle_test')
-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)