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

pfalcon / micropython / 1147
98%

Build:
DEFAULT BRANCH: master
Ran 29 Dec 2017 08:01AM UTC
Jobs 1
Files 227
Run time 8s
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
1147

push

travis-ci

dpgeorge
py/mpz: In mpz_as_str_inpl, convert always-false checks to assertions.

There are two checks that are always false so can be converted to (negated)
assertions to save code space and execution time.  They are:

1. The check of the str parameter, which is required to be non-NULL as per
   the original comment that it has enough space in it as calculated by
   mp_int_format_size.  And for all uses of this function str is indeed
   non-NULL.

2. The check of the base parameter, which is already required to be between
   2 and 16 (inclusive) via the assertion in mp_int_format_size.

17525 of 17826 relevant lines covered (98.31%)

323151.16 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1147.1 29 Dec 2017 08:01AM UTC 0
98.31
Travis Job 1147.1
Source Files on build 1147
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1147
  • e7842744 on github
  • Prev Build on master (#1146)
  • Next Build on master (#1149)
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