New submission from Serhiy Storchaka <storchaka+cpyt...@gmail.com>:
While searching for use the equality operator with None I found the possible use of "==" instead of "=" (assignment) in Lib/idlelib/idle_test/test_macosx.py. for platform, types in ('darwin', alltypes), ('other', nontypes): with self.subTest(platform=platform): macosx.platform = platform macosx._tk_type == None macosx._init_tk_type() self.assertIn(macosx._tk_type, types) ---------- assignee: terry.reedy components: IDLE, Tests messages: 400713 nosy: serhiy.storchaka, taleinat, terry.reedy priority: normal severity: normal status: open title: Typo: using "==" instead of "=" type: behavior versions: Python 3.10, Python 3.11, Python 3.9 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue45059> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com