diff -r 87882c96d138 Lib/test/test_idle/__init__.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Lib/test/test_idle/__init__.py Mon Apr 22 08:22:07 2013 +0530 @@ -0,0 +1,14 @@ +from test import support +# Skip test if idle wasn't built. +support.import_module('idlelib') + +import os +import sys +import unittest + + +def test_main(): + start_dir = os.path.dirname(__file__) + top_dir = os.path.dirname(os.path.dirname(start_dir)) + test_loader = unittest.TestLoader() + support.run_unittest(test_loader.discover(start_dir, top_level_dir=top_dir)) diff -r 87882c96d138 Lib/test/test_idle/test_PathBrowser.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Lib/test/test_idle/test_PathBrowser.py Mon Apr 22 08:22:07 2013 +0530 @@ -0,0 +1,23 @@ +""" +Moving test provided http://bugs.python.org/file27613/issue16226_test.patch +by ned.deily at issue16226 to UnitTestFrameWork +""" + +import unittest +from test import support +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() + + +def test_main(): + support.run_unittest(PathBrowserTest) + +if __name__ == "__main__": + test_main() diff -r 87882c96d138 Misc/ACKS --- a/Misc/ACKS Wed Apr 17 13:12:27 2013 +0200 +++ b/Misc/ACKS Mon Apr 22 08:22:07 2013 +0530 @@ -753,6 +753,7 @@ Tom Loredo Justin Love Ned Jackson Lovely +Rajagopalasarma Jayakrishnan Jason Lowe Tony Lownds Ray Loyzaga diff -r 87882c96d138 Misc/NEWS --- a/Misc/NEWS Wed Apr 17 13:12:27 2013 +0200 +++ b/Misc/NEWS Mon Apr 22 08:22:07 2013 +0530 @@ -5628,4 +5628,8 @@ - Issue #11818: Fix tempfile examples for Python 3. +- Issue #15392: Initiated a test framework for idle with test/test_idle directory + and added already created test in issue16226 into this dierctory. + + **(For information about older versions, consult the HISTORY file.)**