mirror of
https://github.com/python/cpython.git
synced 2025-07-28 13:44:43 +00:00
bpo-45020: Don't test IDLE with frozen module. (GH-28344)
Otherwise, test would need special import.
This commit is contained in:
parent
a65c86889e
commit
369bf949cc
1 changed files with 2 additions and 2 deletions
|
@ -136,8 +136,8 @@ class ModuleNameTest(unittest.TestCase):
|
||||||
dialog = self.Dummy_ModuleName('idlelib')
|
dialog = self.Dummy_ModuleName('idlelib')
|
||||||
self.assertTrue(dialog.entry_ok().endswith('__init__.py'))
|
self.assertTrue(dialog.entry_ok().endswith('__init__.py'))
|
||||||
self.assertEqual(dialog.entry_error['text'], '')
|
self.assertEqual(dialog.entry_error['text'], '')
|
||||||
dialog = self.Dummy_ModuleName('os.path')
|
dialog = self.Dummy_ModuleName('idlelib.idle')
|
||||||
self.assertTrue(dialog.entry_ok().endswith('path.py'))
|
self.assertTrue(dialog.entry_ok().endswith('idle.py'))
|
||||||
self.assertEqual(dialog.entry_error['text'], '')
|
self.assertEqual(dialog.entry_error['text'], '')
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue