summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2021-09-15 07:08:44 (GMT)
committerGitHub <noreply@github.com>2021-09-15 07:08:44 (GMT)
commit369bf949ccbb689cd4638b29b4c0c12db79b927c (patch)
tree002816ac67dffa091e70f4fd578f38a9a2358931 /Lib/idlelib
parenta65c86889e208dddb26a7ebe7840c24edbcca775 (diff)
downloadcpython-369bf949ccbb689cd4638b29b4c0c12db79b927c.zip
cpython-369bf949ccbb689cd4638b29b4c0c12db79b927c.tar.gz
cpython-369bf949ccbb689cd4638b29b4c0c12db79b927c.tar.bz2
bpo-45020: Don't test IDLE with frozen module. (GH-28344)
Otherwise, test would need special import.
Diffstat (limited to 'Lib/idlelib')
-rw-r--r--Lib/idlelib/idle_test/test_query.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/idlelib/idle_test/test_query.py b/Lib/idlelib/idle_test/test_query.py
index e968862..4190511 100644
--- a/Lib/idlelib/idle_test/test_query.py
+++ b/Lib/idlelib/idle_test/test_query.py
@@ -136,8 +136,8 @@ class ModuleNameTest(unittest.TestCase):
dialog = self.Dummy_ModuleName('idlelib')
self.assertTrue(dialog.entry_ok().endswith('__init__.py'))
self.assertEqual(dialog.entry_error['text'], '')
- dialog = self.Dummy_ModuleName('os.path')
- self.assertTrue(dialog.entry_ok().endswith('path.py'))
+ dialog = self.Dummy_ModuleName('idlelib.idle')
+ self.assertTrue(dialog.entry_ok().endswith('idle.py'))
self.assertEqual(dialog.entry_error['text'], '')