• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

nipy / nipy / 527
86%

Build:
DEFAULT BRANCH: master
Ran 20 Feb 2021 12:27AM UTC
Jobs 1
Files 337
Run time 24s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
527

push

travis-ci

web-flow
Merge pull request #470 from yarikoptic/bf-sympy

MRG: avoid relying on Pythonic casting of bool into numeric for sympy expressions

sympy 1.6 introduced breaking change (see
https://github.com/sympy/sympy/wiki/Release-Notes-for-1.6 for full log):

    Relational is no longer a subclass of Expr and does not produce nonsensical
    results in arithmetic operations. This affects all Relational subclasses (Eq,
    Ne, Gt, Ge, Lt, Le). It is no longer possible to call meaningless Expr methods
    like as_coeff_Mul on Relational instances. (#18053 by @oscarbenjamin)

which broke all Pythonish expressions like `(x > 0) * (x < 1)` to define a square
wave.  Thanks to guidance from @oscarbenjamin in
https://github.com/sympy/sympy/issues/20981 I RFed all such uses to use
sympy.Piecewise instead to make it more explicit.

While at it, I also adjusted comments claiming intervals like `[0, 1]` (which
includes the endpoints), whenever in reality they were `(0, 1)` (endpoints not
included).

This is closes #466

4910 of 6765 branches covered (72.58%)

24545 of 28348 relevant lines covered (86.58%)

0.87 hits per line

Jobs
ID Job ID Ran Files Coverage
4 527.4 (DEPENDS="numpy scipy sympy<1.6 matplotlib nibabel" EXTRA_WHEELS="https://5cf40426d9f06eb7461d-6fe47d9331aba7cd62fc36c7196769e4.ssl.cf2.rackcdn.com" PRE_WHEELS="https://7933911d6844c6c53a7d-47bd50c35cd79bd838daf386af554a83.ssl.cf2.rackcdn.com" EXTRA_PIP_FLAGS="--find-links=$EXTRA_WHEELS" PRE_PIP_FLAGS="--pre $EXTRA_PIP_FLAGS --find-links $PRE_WHEELS" INSTALL_TYPE="pip" COVERAGE=1) 20 Feb 2021 12:27AM UTC 0
86.58
Travis Job 527.4
Source Files on build 527
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #527
  • 0832c7f2 on github
  • Prev Build on master (#523)
  • Next Build on master (#531)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc