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

theskumar / python-dotenv / 341 / 3
88%
master: 88%

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

09 Aug 2018 11:40AM UTC coverage: 92.565% (+0.7%) from 91.822%
341.3

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`.

249 of 269 relevant lines covered (92.57%)

0.93 hits per line

Source Files on job 341.3
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 265
  • Travis Job 341.3
  • b7f5a674 on github
  • Prev Job for on master (#340.1)
  • Next Job for on master (#342.6)
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

© 2025 Coveralls, Inc