#12911: fix failing ipython test in tests/cmdline
---------------------------------+------------------------------------------
       Reporter:  jhpalmieri     |         Owner:  jason       
           Type:  defect         |        Status:  needs_review
       Priority:  major          |     Milestone:  sage-5.1    
      Component:  misc           |    Resolution:              
       Keywords:  ipython        |   Work issues:              
Report Upstream:  N/A            |     Reviewers:              
        Authors:  John Palmieri  |     Merged in:              
   Dependencies:                 |      Stopgaps:              
---------------------------------+------------------------------------------

Comment (by jhpalmieri):

 The doctest shouldn't leave any extra files lying around: on startup, Sage
 should create `DOT_SAGE/ipython/` (if it doesn't exist already) and
 populate it with various files. From the main `sage` script
 (`SAGE_ROOT/spkg/bin/sage`):
 {{{
     IPYTHONDIR="$DOT_SAGE/ipython" && export IPYTHONDIR
     IPYTHONRC="ipythonrc" && export IPYTHONRC
     if [ ! -d "$IPYTHONDIR" ]; then
         mkdir -p "$DOT_SAGE"
         cp -r "$SAGE_ROOT/ipython" "$DOT_SAGE/"
     fi
 }}}
 Running the doctest shouldn't create anything new, just use the already-
 present config files.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12911#comment:4>
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.

Reply via email to