[sage-devel] Re: pretty print latex doctest error

2019-03-15 Thread kcrisman


> I see a different but I guess related error, arising like this:
>

I wonder if this is what causes our errors to be different:

This is XeTeX, Version 3.14159265-2.6-0.9 (TeX Live 2018) (preloaded 
format=xelatex)

Also, my error in command line only occurs once - I guess because it's a 
warning, not an error per se. 

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] Re: pretty print latex doctest error

2019-03-14 Thread John H Palmieri


On Thursday, March 14, 2019 at 1:46:38 PM UTC-7, kcrisman wrote:
>
> I just ran the following command, and amazingly got only one timeout and 
> one error.  The rest is fine.
>
> ./sage -tp 3 -T 600 --optional=sage,python2,latex src/sage
>
> **
>
> File "src/sage/repl/rich_output/pretty_print.py", line 217, in 
> sage.repl.rich_output.pretty_print.pretty_print
>
> Failed example:
>
> pretty_print(ZZ, 123, plt)# optional - latex 
>
> Expected:
>
>  type="math/tex">\newcommand{\Bold}[1]{\mathbf{#1}}\Bold{Z} 123 %% Creator: 
> Matplotlib, PGF backend...
>
> Got:
>
> doctest:warning
>
> 
>
>   File 
> "/Users/karl.crisman/Downloads/sage/local/lib/python2.7/site-packages/matplotlib/backends/backend_pgf.py",
>  
> line 50, in 
>
> warnings.warn('error getting fonts from fc-list', UserWarning)
>
> :
>
> UserWarning: error getting fonts from fc-list
>
>