#4564: [with patch, with positive review] implement long long -> mpz_t
------------------------------+---------------------------------------------
 Reporter:  robertwb          |        Owner:  somebody  
     Type:  defect            |       Status:  new       
 Priority:  major             |    Milestone:  sage-3.2.1
Component:  basic arithmetic  |   Resolution:            
 Keywords:                    |  
------------------------------+---------------------------------------------
Comment (by mabshoff):

 I am seeing a doctest failure here:
 {{{
 sage -t -long devel/sage/sage/rings/integer.pyx
 **********************************************************************
 File "/scratch/mabshoff/release-
 cycle/sage-3.2.1.alpha0/devel/sage/sage/rings/integer.pyx", line 199:
     sage: sage: _test_mpz_set_longlong(100000000000)
 Exception raised:
     Traceback (most recent call last):
       File "/scratch/mabshoff/release-
 cycle/sage-3.2.1.alpha0/local/bin/ncadoctest.py", line 1231, in
 run_one_test
         self.run_one_example(test, example, filename, compileflags)
       File "/scratch/mabshoff/release-
 cycle/sage-3.2.1.alpha0/local/bin/sagedoctest.py", line 38, in
 run_one_example
         OrigDocTestRunner.run_one_example(self, test, example, filename,
 compileflags)
       File "/scratch/mabshoff/release-
 cycle/sage-3.2.1.alpha0/local/bin/ncadoctest.py", line 1172, in
 run_one_example
         compileflags, 1) in test.globs
       File "<doctest __main__.example_2[6]>", line 1
          sage: _test_mpz_set_longlong(Integer(100000000000))###line 199:
     sage: sage: _test_mpz_set_longlong(100000000000)
           ^
      SyntaxError: invalid syntax
 **********************************************************************
 1 items had failures:
 }}}

 I guess this is caused by an extra "sage: " in that line. I am editing the
 patch to fix this.

 Cheers,

 Michael

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