#6030: [with patch, needs work] Bring plot/circle.py to 100% coverage
---------------------------+------------------------------------------------
 Reporter:  kcrisman       |       Owner:  kcrisman
     Type:  enhancement    |      Status:  assigned
 Priority:  minor          |   Milestone:  sage-4.0
Component:  documentation  |    Keywords:          
---------------------------+------------------------------------------------

Comment(by mvngu):

 Some doctest failures:
 {{{
 [mv...@sage sage-3.4.2]$ ./sage -t -long
 devel/sage-6030/sage/plot/circle.py
 sage -t -long "devel/sage-6030/sage/plot/circle.py"
 **********************************************************************
 File "/scratch/mvngu/sage-3.4.2/devel/sage-6030/sage/plot/circle.py", line
 150:
     sage: d = c.plot3d(z=2)
 Exception raised:
     Traceback (most recent call last):
       File "/scratch/mvngu/sage-3.4.2/local/bin/ncadoctest.py", line 1231,
 in run_one_test
         self.run_one_example(test, example, filename, compileflags)
       File "/scratch/mvngu/sage-3.4.2/local/bin/sagedoctest.py", line 38,
 in run_one_example
         OrigDocTestRunner.run_one_example(self, test, example, filename,
 compileflags)
       File "/scratch/mvngu/sage-3.4.2/local/bin/ncadoctest.py", line 1172,
 in run_one_example
         compileflags, 1) in test.globs
       File "<doctest __main__.example_6[6]>", line 1, in <module>
         d = c.plot3d(z=Integer(2))###line 150:
     sage: d = c.plot3d(z=2)
       File "/scratch/mvngu/sage-3.4.2/local/lib/python2.5/site-
 packages/sage/plot/circle.py", line 176, in plot3d
         return Polygon(xdata, ydata, options).plot3d(z)
     TypeError: plot3d() takes exactly 1 argument (2 given)
 **********************************************************************
 File "/scratch/mvngu/sage-3.4.2/devel/sage-6030/sage/plot/circle.py", line
 151:
     sage: d.texture.opacity
 Exception raised:
     Traceback (most recent call last):
       File "/scratch/mvngu/sage-3.4.2/local/bin/ncadoctest.py", line 1231,
 in run_one_test
         self.run_one_example(test, example, filename, compileflags)
       File "/scratch/mvngu/sage-3.4.2/local/bin/sagedoctest.py", line 38,
 in run_one_example
         OrigDocTestRunner.run_one_example(self, test, example, filename,
 compileflags)
       File "/scratch/mvngu/sage-3.4.2/local/bin/ncadoctest.py", line 1172,
 in run_one_example
         compileflags, 1) in test.globs
       File "<doctest __main__.example_6[7]>", line 1, in <module>
         d.texture.opacity###line 151:
     sage: d.texture.opacity
     NameError: name 'd' is not defined
 **********************************************************************
 1 items had failures:
    2 of  12 in __main__.example_6
 ***Test Failed*** 2 failures.
 For whitespace errors, see the file
 /scratch/mvngu/sage-3.4.2/tmp/.doctest_circle.py
          [5.3 s]
 exit code: 1024

 ----------------------------------------------------------------------
 The following tests failed:


         sage -t -long "devel/sage-6030/sage/plot/circle.py"
 Total time for all tests: 5.3 seconds
 }}}

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