#6567: function to test whether or not some integer is a primitive root modulo n
-----------------------------------+----------------------------------------
       Reporter:  mvngu            |         Owner:  was         
           Type:  enhancement      |        Status:  needs_work  
       Priority:  major            |     Milestone:  sage-5.6    
      Component:  number theory    |    Resolution:              
       Keywords:  primitive roots  |   Work issues:              
Report Upstream:  N/A              |     Reviewers:  Julian Rueth
        Authors:  David Roe        |     Merged in:              
   Dependencies:                   |      Stopgaps:              
-----------------------------------+----------------------------------------
Changes (by saraedum):

  * status:  needs_review => needs_work
  * reviewer:  => Julian Rueth


Comment:

 There is a problem in the docstring:

 {{{
 Traceback (most recent call last):
   File "/dev/shm/sage_testdir/integer_mod_10415.py", line 3096, in
 <module>
     runner=runner)
   File "/dev/shm/sage/local/bin/sagedoctest.py", line 54, in
 testmod_returning_runner
     runner=runner)
   File "/dev/shm/sage/local/bin/ncadoctest.py", line 1819, in
 testmod_returning_runner
     for test in finder.find(m, name, globs=globs, extraglobs=extraglobs):
   File "/dev/shm/sage/local/bin/ncadoctest.py", line 839, in find
     self._find(tests, obj, name, module, source_lines, globs, {})
   File "/dev/shm/sage/local/bin/ncadoctest.py", line 893, in _find
     globs, seen)
   File "/dev/shm/sage/local/bin/ncadoctest.py", line 881, in _find
     test = self._get_test(obj, name, module, globs, source_lines)
   File "/dev/shm/sage/local/bin/ncadoctest.py", line 965, in _get_test
     filename, lineno)
   File "/dev/shm/sage/local/bin/ncadoctest.py", line 594, in get_doctest
     return DocTest(self.get_examples(string, name), globs,
   File "/dev/shm/sage/local/bin/ncadoctest.py", line 608, in get_examples
     return [x for x in self.parse(string, name)
   File "/dev/shm/sage/local/bin/ncadoctest.py", line 570, in parse
     self._parse_example(m, name, lineno)
   File "/dev/shm/sage/local/bin/ncadoctest.py", line 628, in
 _parse_example
     self._check_prompt_blank(source_lines, indent, name, lineno)
   File "/dev/shm/sage/local/bin/ncadoctest.py", line 715, in
 _check_prompt_blank
     line[indent:indent+3], line))
 ValueError: line 27 of the docstring for __main__.example_32 lacks blank
 after ...: '            ....:     for k in range(Integer(1),Integer(4)):'
 }}}

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