[issue16226] IDLE crashes on *File / Path browser*

Saimadhav Heblikar report at bugs.python.org
Thu Feb 27 10:15:35 CET 2014


Saimadhav Heblikar added the comment:

This patch does 
1.Remove pep8 violations in PathBrowser.py . Replaces "file","dir","sorted" by "file_","dir_","sorted_" respectively.
2.Extends test coverage for PathBrowser.py in idle_test/test_PathBrowser.py

New modules now under tests include
1.dirBrowserTreeItem - getText,ispackagedir
2.pathBrowserTreeItem - getText,getSublist

Only method missing a test after this patch will be listmodules.I am not too sure whether it requires a test for itself.it is indirectly being tested from lines 8 and 9(in the current tip).

----------
nosy: +sahutd
Added file: http://bugs.python.org/file34242/pathbrowser1.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16226>
_______________________________________


More information about the Python-bugs-list mailing list