failures in master at Travis

35 views
Skip to first unread message

Chris Smith

unread,
Feb 12, 2018, 8:58:19 AM2/12/18
to sympy
Runs are failing the TEST_SPHINX tests with the following error:

Warning, treated as error:
/home/travis/build/sympy/sympy/sympy/assumptions/handlers/ntheory.py:docstring of sympy.assumptions.handlers.ntheory.AskEvenHandler.Mul:9:Unexpected indentation.
make: *** [html] Error 2

Kalevi Suominen

unread,
Feb 12, 2018, 9:33:21 AM2/12/18
to sympy

Sphinx updated 1.6.7 -> 1.7.0

Kalevi Suominen

unread,
Feb 12, 2018, 11:40:27 AM2/12/18
to sympy
Maybe this would help.

--- a/sympy/assumptions/handlers/ntheory.py
+++ b/sympy/assumptions/handlers/ntheory.py
@@ -136,7 +136,7 @@ def Mul(expr, assumptions):
         Odd * Odd         -> Odd
         Even * Even       -> Even
         Integer * Integer -> Even if Integer + Integer = Odd
-                          -> ? otherwise
+        otherwise         -> ?
         """
         if expr.is_number:
             return AskEvenHandler._number(expr, assumptions)

Francesco Bonazzi

unread,
Feb 12, 2018, 11:52:48 AM2/12/18
to sympy

Kalevi Suominen

unread,
Feb 12, 2018, 12:32:23 PM2/12/18
to sympy
It seems that another weak point was found:

Warning, treated as error:
/home/travis/build/sympy/sympy/sympy/codegen/cfunctions.py:docstring of sympy.codegen.cfunctions.exp2.eval:15:Unexpected indentation.
make: *** [html] Error 2


Francesco Bonazzi

unread,
Feb 12, 2018, 3:56:47 PM2/12/18
to sympy
Now we have the list of warnings:

https://travis-ci.org/sympy/sympy/jobs/340642927

It's quite long.

Aaron Meurer

unread,
Feb 12, 2018, 3:58:07 PM2/12/18
to sy...@googlegroups.com
I have a fix. See the pull request.

Aaron Meurer
> --
> You received this message because you are subscribed to the Google Groups
> "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sympy+un...@googlegroups.com.
> To post to this group, send email to sy...@googlegroups.com.
> Visit this group at https://groups.google.com/group/sympy.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sympy/e20b9811-e608-4c23-8f89-6566c6ecd3b0%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages