See trac.sagemath.org/ticket/15749 David
On Sun, Jan 19, 2014 at 6:38 AM, P Purkayastha <ppu...@gmail.com> wrote: > From what I remember, doctesting a file using > sage -btnew > > used to work from all directories. It doesn't right now because it doesn't > take the relative path or absolute path into account. The paths are all > relative to SAGE_ROOT. > > ...ations/sage/src/sage/plotĀ» sage -btnew > scons: `install' is up to date. > Updating Cython code.... > Finished compiling Cython code (time = 2.20727992058 seconds) > running install > running build > running build_py > copying sage/plot/matrix_plot.py -> build/lib.linux-x86_64-2.7/sage/plot > running build_ext > Executing 0 commands (using 1 thread) > Time to execute 0 commands: 0.0022029876709 seconds > Total time spent compiling C/C++ extensions: 0.0984809398651 seconds. > running install_lib > copying build/lib.linux-x86_64-2.7/sage/plot/matrix_plot.py -> > /home/punarbasu/tmp/sage/local/lib/python2.7/site-packages/sage/plot > byte-compiling > /home/punarbasu/tmp/sage/local/lib/python2.7/site-packages/sage/plot/matrix_plot.py > to matrix_plot.pyc > running install_egg_info > Removing > /home/punarbasu/tmp/sage/local/lib/python2.7/site-packages/sage-6.1.beta5-py2.7.egg-info > Writing > /home/punarbasu/tmp/sage/local/lib/python2.7/site-packages/sage-6.1.beta5-py2.7.egg-info > Running doctests with ID 2014-01-19-21-31-24-f65200e9. > Doctesting files changed since last git commit > Doctesting 1 file. > sage -t src/sage/plot/matrix_plot.py > IOError in doctesting framework > ********************************************************************** > Traceback (most recent call last): > File > "/home/punarbasu/tmp/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", > line 2086, in __call__ > doctests, extras = self.source.create_doctests(sage_namespace) > File > "/home/punarbasu/tmp/sage/local/lib/python2.7/site-packages/sage/doctest/sources.py", > line 627, in create_doctests > raise IOError(errno.ENOENT, "File does not exist", self.path) > IOError: [Errno 2] File does not exist: 'src/sage/plot/matrix_plot.py' > > ---------------------------------------------------------------------- > sage -t src/sage/plot/matrix_plot.py # IOError in doctesting framework > ---------------------------------------------------------------------- > Total time for all tests: 0.0 seconds > cpu time: 0.0 seconds > cumulative wall time: 0.0 seconds > > > > -- > You received this message because you are subscribed to the Google Groups > "sage-devel" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sage-devel+unsubscr...@googlegroups.com. > To post to this group, send email to sage-devel@googlegroups.com. > Visit this group at http://groups.google.com/group/sage-devel. > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/groups/opt_out.