]> granicus.if.org Git - python/commit
bpo-23205: IDLE: Add tests and refactor grep's findfiles (GH-12203)
authorCheryl Sabella <cheryl.sabella@gmail.com>
Sat, 23 Mar 2019 11:33:42 +0000 (07:33 -0400)
committerGitHub <noreply@github.com>
Sat, 23 Mar 2019 11:33:42 +0000 (07:33 -0400)
commitd60f658fc0278f3fcdadec8ddcab35b8ae03e1d1
treeed62b0ba7464fae17af4886b4fb6f9e7fa7b32df
parent6d5ee973f0600a3a9444f569dcf0dd346bfa2a11
bpo-23205: IDLE: Add tests and refactor grep's findfiles (GH-12203)

* Add tests for grep findfiles.
* Move findfiles to module function.
* Change findfiles to use os.walk.

Based on a patch by Al Sweigart.
Lib/idlelib/grep.py
Lib/idlelib/idle_test/test_grep.py
Misc/NEWS.d/next/IDLE/2019-03-06-14-47-57.bpo-23205.Vv0gfH.rst [new file with mode: 0644]