summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/idle_test/test_query.py
diff options
context:
space:
mode:
authorE-Paine <63801254+E-Paine@users.noreply.github.com>2020-06-28 06:02:47 (GMT)
committerGitHub <noreply@github.com>2020-06-28 06:02:47 (GMT)
commit8ab77c6f9fb6ef86af8f6b8722a2fcb37438edd0 (patch)
treebf25f277a5e9edb8eaa2bc9aa3d4a1be8d2a614d /Lib/idlelib/idle_test/test_query.py
parent8df1016e2ef8c0a9f4d15bf7894c284295c99d9f (diff)
downloadcpython-8ab77c6f9fb6ef86af8f6b8722a2fcb37438edd0.zip
cpython-8ab77c6f9fb6ef86af8f6b8722a2fcb37438edd0.tar.gz
cpython-8ab77c6f9fb6ef86af8f6b8722a2fcb37438edd0.tar.bz2
bpo-41144: Fix IDLE open module error (#21182)
Could not open os.path. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Diffstat (limited to 'Lib/idlelib/idle_test/test_query.py')
-rw-r--r--Lib/idlelib/idle_test/test_query.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/idlelib/idle_test/test_query.py b/Lib/idlelib/idle_test/test_query.py
index 6d026cb..e968862 100644
--- a/Lib/idlelib/idle_test/test_query.py
+++ b/Lib/idlelib/idle_test/test_query.py
@@ -136,6 +136,9 @@ 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'))
+ self.assertEqual(dialog.entry_error['text'], '')
class GotoTest(unittest.TestCase):