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

mgedmin / profilehooks / 686
100%

Build:
DEFAULT BRANCH: master
Ran 30 Jan 2020 08:46AM UTC
Jobs 8
Files 1
Run time 1min
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
686

push

travis-ci

mgedmin
Correctly detect Python source file encoding

Using open() on a Python source file will not work if the system locale
doesn't match the source file encoding.  Let's use tokenize.open()
instead which will look for # -*- coding: ... -*- declarations and such.

Closes #24.

Also drop very outdated Python 2.3 (!) code examples from the module
docstring.

356 of 356 relevant lines covered (100.0%)

6.33 hits per line

Jobs
ID Job ID Ran Files Coverage
1 686.1 30 Jan 2020 08:46AM UTC 0
99.72
Travis Job 686.1
2 686.2 30 Jan 2020 08:47AM UTC 0
76.12
Travis Job 686.2
3 686.3 30 Jan 2020 08:46AM UTC 0
76.12
Travis Job 686.3
4 686.4 30 Jan 2020 08:46AM UTC 0
76.12
Travis Job 686.4
5 686.5 30 Jan 2020 08:47AM UTC 0
76.19
Travis Job 686.5
6 686.6 30 Jan 2020 08:47AM UTC 0
76.19
Travis Job 686.6
7 686.7 30 Jan 2020 08:47AM UTC 0
76.12
Travis Job 686.7
8 686.8 30 Jan 2020 08:47AM UTC 0
76.4
Travis Job 686.8
Source Files on build 686
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #686
  • bebbd459 on github
  • Prev Build on master (#685)
  • Next Build on master (#687)
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