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

pfalcon / micropython / 1328 / 3
97%
master: 98%

Build:
Build:
LAST BUILD BRANCH: pfalcon
DEFAULT BRANCH: master
Ran 03 Sep 2018 07:09PM UTC
Files 236
Run time 14s
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

03 Sep 2018 07:06PM UTC coverage: 97.99%. Remained the same
NAME="unix coverage build and tests"

push

travis-ci

pfalcon
py/objarray: bytearray: Allow 2nd/3rd arg to constructor.

If bytearray is constructed from str, a second argument of encoding is
required (in CPython), and third arg of Unicode error handling is allowed,
e.g.:

bytearray("str", "utf-8", "strict")

This is similar to bytes:

bytes("str", "utf-8", "strict")

This patch just allows to pass 2nd/3rd arguments to bytearray, but
doesn't try to validate them to not impact code size. (This is also
similar to how bytes constructor is handled, though it does a bit
more validation, e.g. check that in case of str arg, encoding argument
is passed.)

18140 of 18512 relevant lines covered (97.99%)

324196.34 hits per line

Source Files on job 1328.3 (NAME="unix coverage build and tests")
  • Tree
  • List 0
  • Changed 51
  • Source Changed 1
  • Coverage Changed 51
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1308
  • Travis Job 1328.3
  • 1e574262 on github
  • Prev Job for NAME="unix coverage build and tests" on pfalcon (#1327.3)
  • Next Job for NAME="unix coverage build and tests" on pfalcon (#1331.3)
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