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

theskumar / python-dotenv / 473 / 9
88%
master: 88%

Build:
DEFAULT BRANCH: master
Ran 22 May 2019 08:19AM UTC
Files 7
Run time 0s
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

22 May 2019 08:15AM UTC coverage: 89.402% (+1.3%) from 88.055%
TOXENV=pypy3

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.

329 of 368 relevant lines covered (89.4%)

0.89 hits per line

Source Files on job 473.9 (TOXENV=pypy3)
  • Tree
  • List 0
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 382
  • Travis Job 473.9
  • 57f9639d on github
  • Prev Job for TOXENV=pypy3 on master (#467.9)
  • Next Job for TOXENV=pypy3 on master (#474.9)
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