#20222: One-off doctest failures in a fresh install
---------------------------------+----------------------------
   Reporter:  defeo              |            Owner:
       Type:  defect             |           Status:  new
   Priority:  minor              |        Milestone:  sage-7.1
  Component:  doctest framework  |         Keywords:
  Merged in:                     |          Authors:
  Reviewers:                     |  Report Upstream:  N/A
Work issues:                     |           Branch:
     Commit:                     |     Dependencies:
   Stopgaps:                     |
---------------------------------+----------------------------
 I'm getting some irrelevant doctests failures (on branch develop), due to
 some Matplotlib first time artifacts.

 {{{
 sage -t --long src/sage/geometry/fan.py
 **********************************************************************
 File "src/sage/geometry/fan.py", line 2887, in sage.geometry.fan.?.plot
 Failed example:
     fan.plot()
 Expected:
     Graphics object consisting of 31 graphics primitives
 Got:
     doctest:273: UserWarning: Matplotlib is building the font cache using
 fc-list. This may take a moment.
     Graphics object consisting of 31 graphics primitives
 **********************************************************************
 1 item had failures:
    1 of   3 in sage.geometry.fan.?.plot
     [492 tests, 1 failure, 9.60 s]
 sage -t --long src/sage/categories/coxeter_groups.py
 **********************************************************************
 File "src/sage/categories/coxeter_groups.py", line 1681, in
 sage.categories.coxeter_groups.CoxeterGroups.ElementMethods.bruhat_lower_cov
 ers
 Failed example:
     P.show()
 Expected nothing
 Got:
     doctest:273: UserWarning: Matplotlib is building the font cache using
 fc-list. This may take a moment.
 **********************************************************************
 1 item had failures:
    1 of  15 in
 sage.categories.coxeter_groups.CoxeterGroups.ElementMethods.bruhat_lower_covers
     [461 tests, 1 failure, 18.31 s]
 }}}

 Of course, the failures go away when the tests are rerun. Any way we can
 avoid these failures?

--
Ticket URL: <http://trac.sagemath.org/ticket/20222>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to