#12037: `search_src` and friends shouldn't look in hidden files
-----------------------------+----------------------------------------------
Reporter: ddrake | Owner: jason
Type: enhancement | Status: positive_review
Priority: major | Milestone: sage-4.8
Component: misc | Keywords:
Work_issues: | Upstream: N/A
Reviewer: John Palmieri | Author: Dan Drake
Merged: | Dependencies:
-----------------------------+----------------------------------------------
Comment(by ddrake):
Replying to [comment:7 jhpalmieri]:
> How could you doctest this?
I'm not sure...create a hidden file with an unlikely string in it, do
`search_src` for that string? Check it returns nothing?
OTOH, I feel pretty confident about the code "`not f.startswith('.')`". So
it seems reasonable to leave this one as it is.
Thanks for the review!
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12037#comment:8>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.