#5736: [with patch, needs review] Improve doctest coverage for 
sage/modular/hecke
---------------------------+------------------------------------------------
 Reporter:  davidloeffler  |       Owner:  davidloeffler
     Type:  defect         |      Status:  assigned     
 Priority:  major          |   Milestone:  sage-4.0     
Component:  modular forms  |    Keywords:               
---------------------------+------------------------------------------------

Comment(by mabshoff):

 Indeed, this was exactly caused by this issue mentioned above:
 {{{
 wst...@sage:~/build/sage-3.4.2.rc0$ ./sage -sh

 Starting subshell with Sage environment variables set.
 Be sure to exit when you are done and do not do anything
 with other copies of Sage!

 wst...@sage:~/build/sage-3.4.2.rc0$ cd devel/sage
 wst...@sage:~/build/sage-3.4.2.rc0/devel/sage$ touch
 sage/modular/modsym/modular_symbols.py
 wst...@sage:~/build/sage-3.4.2.rc0/devel/sage$ cd ../..
 wst...@sage:~/build/sage-3.4.2.rc0$ ./sage -b

 ----------------------------------------------------------
 sage: Building and installing modified Sage library files.


 Installing c_lib
 scons: `install' is up to date.
 Updating Cython code....
 Time to execute 0 commands: 1.38282775879e-05 seconds
 Finished compiling Cython code (time = 0.30867099762 seconds)
 running install
 running build
 running build_py
 copying sage/modular/modsym/modular_symbols.py ->
 build/lib.linux-x86_64-2.5/sage/modular/modsym
 running build_ext
 running build_scripts
 running install_lib
 copying build/lib.linux-x86_64-2.5/sage/modular/modsym/modular_symbols.py
 -> /scratch/wstein/build/sage-3.4.2.rc0/local/lib/python2.5/site-
 packages/sage/modular/modsym
 byte-compiling /scratch/wstein/build/sage-3.4.2.rc0/local/lib/python2.5
 /site-packages/sage/modular/modsym/modular_symbols.py to
 modular_symbols.pyc
 running install_scripts
 changing mode of /scratch/wstein/build/sage-3.4.2.rc0/local/bin/spkg-
 debian-maybe to 755
 running install_egg_info
 Removing /scratch/wstein/build/sage-3.4.2.rc0/local/lib/python2.5/site-
 packages/sage-0.0.0-py2.5.egg-info
 Writing /scratch/wstein/build/sage-3.4.2.rc0/local/lib/python2.5/site-
 packages/sage-0.0.0-py2.5.egg-info

 real    0m1.006s
 user    0m0.810s
 sys     0m0.190s
 wst...@sage:~/build/sage-3.4.2.rc0$        sage -t -long
 devel/sage/sage/modular/modsym/ambient.py # 4 doctests failed
 sage -t -long "devel/sage/sage/modular/modsym/ambient.py"
          [5.8 s]

 ----------------------------------------------------------------------
 All tests passed!
 Total time for all tests: 5.8 seconds
 wst...@sage:~/build/sage-3.4.2.rc0$         sage -t -long
 devel/sage/sage/tests/book_stein_modform.py # 3 doctests failedsage -t
 -long "devel/sage/sage/tests/book_stein_modform.py"
          [3.3 s]

 ----------------------------------------------------------------------
 All tests passed!
 Total time for all tests: 3.3 seconds
 wst...@sage:~/build/sage-3.4.2.rc0$         sage -t -long
 devel/sage/sage/modular/modsym/manin_symbols.py # 1 doctests failed
 sage -t -long "devel/sage/sage/modular/modsym/manin_symbols.py"
          [1.5 s]

 ----------------------------------------------------------------------
 All tests passed!
 Total time for all tests: 1.5 seconds
 wst...@sage:~/build/sage-3.4.2.rc0$         sage -t -long
 devel/sage/doc/en/bordeaux_2008/modular_symbols.rst # 1 doctests failed
 sage -t -long "devel/sage/doc/en/bordeaux_2008/modular_symbols.rst"
          [1.1 s]

 ----------------------------------------------------------------------
 All tests passed!
 Total time for all tests: 1.1 seconds
 wst...@sage:~/build/sage-3.4.2.rc0$
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5736#comment:23>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of 
Reinventing the Wheel

--~--~---------~--~----~------------~-------~--~----~
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