mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
Issue #15392: Create a unittest framework for IDLE.
Preliminary patch by Rajagopalasarma Jayakrishnan.
This commit is contained in:
parent
ecf0851809
commit
db4e5c53c9
9 changed files with 118 additions and 2 deletions
12
Lib/idlelib/idle_test/test_pathbrowser.py
Normal file
12
Lib/idlelib/idle_test/test_pathbrowser.py
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
import unittest
|
||||
import idlelib.PathBrowser as PathBrowser
|
||||
|
||||
class PathBrowserTest(unittest.TestCase):
|
||||
|
||||
def test_DirBrowserTreeItem(self):
|
||||
# Issue16226 - make sure that getting a sublist works
|
||||
d = PathBrowser.DirBrowserTreeItem('')
|
||||
d.GetSubList()
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main(verbosity=2, exit=False)
|
||||
Loading…
Add table
Add a link
Reference in a new issue