summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/idle_test/test_help_about.py
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2023-05-17 19:59:13 (GMT)
committerGitHub <noreply@github.com>2023-05-17 19:59:13 (GMT)
commitaed643baa968b4959b830d37750080cac546fba7 (patch)
tree41bf6e4888610acd65bb49b9a913e934d5f91ac8 /Lib/idlelib/idle_test/test_help_about.py
parentc649df63e0d052044a4660101d5769ff46ae9234 (diff)
downloadcpython-aed643baa968b4959b830d37750080cac546fba7.zip
cpython-aed643baa968b4959b830d37750080cac546fba7.tar.gz
cpython-aed643baa968b4959b830d37750080cac546fba7.tar.bz2
gh-104496: IDLE - fix About for mixed tcl/tk versions (#104585)
Print both if they are different, as may happen in the future.
Diffstat (limited to 'Lib/idlelib/idle_test/test_help_about.py')
-rw-r--r--Lib/idlelib/idle_test/test_help_about.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/idlelib/idle_test/test_help_about.py b/Lib/idlelib/idle_test/test_help_about.py
index b915535..8b79487 100644
--- a/Lib/idlelib/idle_test/test_help_about.py
+++ b/Lib/idlelib/idle_test/test_help_about.py
@@ -36,7 +36,7 @@ class LiveDialogTest(unittest.TestCase):
del cls.root
def test_build_bits(self):
- self.assertIn(help_about.build_bits(), ('32', '64'))
+ self.assertIn(help_about.bits, ('32', '64'))
def test_dialog_title(self):
"""Test about dialog title"""
@@ -107,7 +107,7 @@ class DefaultTitleTest(unittest.TestCase):
"""Test about dialog title"""
self.assertEqual(self.dialog.title(),
f'About IDLE {python_version()}'
- f' ({help_about.build_bits()} bit)')
+ f' ({help_about.bits} bit)')
class CloseTest(unittest.TestCase):