#6312: [with patches, needs work] optional doctest failure -- galois_group
-------------------------------+--------------------------------------------
 Reporter:  was                |       Owner:  tbd       
     Type:  defect             |      Status:  new       
 Priority:  major              |   Milestone:  sage-4.1.1
Component:  optional packages  |    Keywords:            
 Reviewer:                     |      Author:            
   Merged:                     |  
-------------------------------+--------------------------------------------

Comment(by mvngu):

 With both patches, I'm seeing this doctest failure:
 {{{
 sage -t -long devel/sage-exp/sage/rings/number_field/galois_group.py
 **********************************************************************
 File "/scratch/mvngu/release/sage-4.1.1.alpha0/devel/sage-
 exp/sage/rings/number_field/galois_group.py", line 171:
     sage: NumberField(x^3 - 2, 'b').galois_group()
 Expected:
     Traceback (most recent call last):
     ...
     TypeError: You must specify the name of the generator.
 Got:
     Galois group of Galois closure in b0 of Number Field in b with
 defining polynomial x^3 - 2
 **********************************************************************
 1 items had failures:
    1 of   5 in __main__.example_9
 ***Test Failed*** 1 failures.
 For whitespace errors, see the file
 /scratch/mvngu/release/sage-4.1.1.alpha0/tmp/.doctest_galois_group.py
          [6.7 s]
 }}}
 Incidentally, after running all doctests a second time, I get a doctest
 failure in the plotting code:
 {{{
 sage -t -long devel/sage-exp/sage/graphs/graph_plot.py
 libpng error: Image width or height is zero in IHDR
 **********************************************************************
 File "/scratch/mvngu/release/sage-4.1.1.alpha0/devel/sage-
 exp/sage/graphs/graph_plot.py", line 758:
     sage: g.graphplot(edge_labels=True, color_by_label=True,
 edge_style='dashed').plot()
 Exception raised:
     Traceback (most recent call last):
       File
 "/scratch/mvngu/release/sage-4.1.1.alpha0/local/bin/ncadoctest.py", line
 1231, in run_one_test
         self.run_one_example(test, example, filename, compileflags)
       File
 "/scratch/mvngu/release/sage-4.1.1.alpha0/local/bin/sagedoctest.py", line
 38, in run_one_example
         OrigDocTestRunner.run_one_example(self, test, example, filename,
 compileflags)
       File
 "/scratch/mvngu/release/sage-4.1.1.alpha0/local/bin/ncadoctest.py", line
 1172, in run_one_example
         compileflags, 1) in test.globs
       File "<doctest __main__.example_7[73]>", line 1, in <module>
         g.graphplot(edge_labels=True, color_by_label=True,
 edge_style='dashed').plot()###line 758:
     sage: g.graphplot(edge_labels=True, color_by_label=True,
 edge_style='dashed').plot()
       File "sage_object.pyx", line 101, in
 sage.structure.sage_object.SageObject.__repr__
 (sage/structure/sage_object.c:1346)
       File "/scratch/mvngu/release/sage-4.1.1.alpha0/local/lib/python
 /site-packages/sage/plot/plot.py", line 873, in _repr_
         self.show()
       File "/scratch/mvngu/release/sage-4.1.1.alpha0/local/lib/python
 /site-packages/sage/plot/plot.py", line 1360, in show
         self.save(DOCTEST_MODE_FILE, **options)
       File "/scratch/mvngu/release/sage-4.1.1.alpha0/local/lib/python
 /site-packages/sage/plot/plot.py", line 1683, in save
         canvas.print_figure(filename, dpi=dpi)
       File "/scratch/mvngu/release/sage-4.1.1.alpha0/local/lib/python
 /site-packages/matplotlib/backend_bases.py", line 1453, in print_figure
         **kwargs)
       File "/scratch/mvngu/release/sage-4.1.1.alpha0/local/lib/python
 /site-packages/matplotlib/backends/backend_agg.py", line 334, in print_png
         filename_or_obj, self.figure.dpi)
     RuntimeError: Error building image
 **********************************************************************
 1 items had failures:
    1 of  74 in __main__.example_7
 ***Test Failed*** 1 failures.
 For whitespace errors, see the file
 /scratch/mvngu/release/sage-4.1.1.alpha0/tmp/.doctest_graph_plot.py
          [13.0 s]
 }}}
 This failure didn't appear after running all doctests for a third time.
 Hmmm... strange.

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