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

ICRAR / ngas / 631 / 6
69%
master: 69%

Build:
DEFAULT BRANCH: master
Ran 31 May 2022 04:25AM UTC
Files 165
Run time 10s
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

31 May 2022 04:25AM UTC coverage: 69.456% (+0.2%) from 69.286%
631.6

push

travis-ci-com

Rodrigo Tobar
Use base64.b64{encode,decode} for python 3 support

The old {encode,decode}string functions were marked as deprecated in
python 3.1, and removed in python 3.9. We should use the corresponding
b64{encode,decode} functions instead, which are present in all relevant
python versions we support.

Note that in python 3 the b64{encode,decode} functions require bytes as
inputs, and output bytes (in python 3); we thus must take care of
encoding the arguments and decoding the outputs, while maintaining
python 2 compatibility.

Another small difference is that encodestring() returned a string that
always finished with a newline, which decodestring() handled correctly;
this is not the case with the b64{encode,decode} pair: b64encode()
doesn't append a newline, and b64decode() fails when a newline is
present at the end of its input. This won't have a noticeable effect
though: the encrypt_access_code function that issued the call to
encodestring() is never invoked anyway, and the strings given to
decrypt_access_code is always stripped (i.e., it won't contain
newlines).

This was originally reported in #89.

13671 of 19683 relevant lines covered (69.46%)

0.69 hits per line

Source Files on job 631.6
  • Tree
  • List 0
  • Changed 35
  • Source Changed 0
  • Coverage Changed 35
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 546
  • Travis Job 631.6
  • e1f7d70a on github
  • Prev Job for on master (#629.4)
  • Next Job for on master (#634.4)
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