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

theskumar / python-dotenv / 473
88%

Build:
DEFAULT BRANCH: master
Ran 22 May 2019 08:16AM UTC
Jobs 9
Files 7
Run time 2min
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
473

push

travis-ci

theskumar
Refactor parser to fix inconsistencies (#180)

* Move parser to separate module

* Add tests

* Use unicode strings for unit tests in Python 2

Using `str` (e.g. `bytes`) is inconsistent with the types and the
implementation.

* Refactor parser

This fixes inconsistencies reported after the release of version 0.10.0:

* Valid escapes were interpreted as control characters even when in
  single-quoted strings.
* `#` was interpreted as the start of a comment even if there was no
  whitespace preceding it.

However, we are keeping the interpretation of escapes in double-quoted
strings as they didn't make sense in versions before 0.10.0.

The single large regular expression is replaced with a handwritten
top-down parser using smaller regular expressions.  The reason for this
change is that it would have been very difficult or impossible to
satisfy the parsing requirements with a single regex.

332 of 368 relevant lines covered (90.22%)

6.26 hits per line

Jobs
ID Job ID Ran Files Coverage
1 473.1 (TOXENV=lint) 22 May 2019 08:17AM UTC 0
Travis Job 473.1
2 473.2 (TOXENV=manifest) 22 May 2019 08:17AM UTC 0
Travis Job 473.2
3 473.3 (TOXENV=py27) 22 May 2019 08:16AM UTC 0
89.4
Travis Job 473.3
4 473.4 (TOXENV=py34) 22 May 2019 08:17AM UTC 0
89.4
Travis Job 473.4
5 473.5 (TOXENV=py35) 22 May 2019 08:17AM UTC 0
89.4
Travis Job 473.5
6 473.6 (TOXENV=py36) 22 May 2019 08:18AM UTC 0
89.4
Travis Job 473.6
7 473.7 (TOXENV=py37) 22 May 2019 08:18AM UTC 0
89.4
Travis Job 473.7
8 473.8 (TOXENV=pypy) 22 May 2019 08:19AM UTC 0
89.4
Travis Job 473.8
9 473.9 (TOXENV=pypy3) 22 May 2019 08:19AM UTC 0
89.4
Travis Job 473.9
Source Files on build 473
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #473
  • 57f9639d on github
  • Prev Build on master (#467)
  • Next Build on master (#474)
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