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

theskumar / python-dotenv / 341
88%

Build:
DEFAULT BRANCH: master
Ran 09 Aug 2018 11:41AM UTC
Jobs 6
Files 6
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
341

push

travis-ci

theskumar
fix bug: DotEnv._get_stream raise IOError when  `.env` is a directory rather than a file (#120)

# How this bug happened ?

The function `find_dotenv` try to find a file named `.env`, if there is a directory named `.env` by coincidence, then `DotEnv._get_stream` will  raise IOError.

# Fix this bug

use `os.path.isfile` instead of `os.path.exists`.

2 of 2 new or added lines in 1 file covered. (100.0%)

249 of 269 relevant lines covered (92.57%)

5.54 hits per line

Jobs
ID Job ID Ran Files Coverage
1 341.1 09 Aug 2018 11:41AM UTC 0
91.82
Travis Job 341.1
2 341.2 09 Aug 2018 11:42AM UTC 0
92.57
Travis Job 341.2
3 341.3 09 Aug 2018 11:41AM UTC 0
92.57
Travis Job 341.3
4 341.4 09 Aug 2018 11:42AM UTC 0
92.57
Travis Job 341.4
5 341.5 09 Aug 2018 11:43AM UTC 0
92.57
Travis Job 341.5
6 341.6 09 Aug 2018 11:44AM UTC 0
91.82
Travis Job 341.6
Source Files on build 341
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #341
  • b7f5a674 on github
  • Prev Build on master (#340)
  • Next Build on master (#342)
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