summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/idle_test
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2020-06-28 06:22:05 (GMT)
committerGitHub <noreply@github.com>2020-06-28 06:22:05 (GMT)
commit1497bf66f9b043e6db3801b1512cfbdeaaaa6650 (patch)
tree9d2bdae9b427a415b56093bde5bd764396e537f7 /Lib/idlelib/idle_test
parent6e39999a246a019a356e1befcdfd3d54a52cb7b5 (diff)
downloadcpython-1497bf66f9b043e6db3801b1512cfbdeaaaa6650.zip
cpython-1497bf66f9b043e6db3801b1512cfbdeaaaa6650.tar.gz
cpython-1497bf66f9b043e6db3801b1512cfbdeaaaa6650.tar.bz2
bpo-41144: Fix IDLE open module error (GH-21182)
Could not open os.path. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> (cherry picked from commit 8ab77c6f9fb6ef86af8f6b8722a2fcb37438edd0) Co-authored-by: E-Paine <63801254+E-Paine@users.noreply.github.com>
Diffstat (limited to 'Lib/idlelib/idle_test')
-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):