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

rm-hull / bme280 / 194
99%

Build:
DEFAULT BRANCH: master
Ran 10 Jan 2020 04:05PM UTC
Jobs 1
Files 3
Run time 1s
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
194

cron

travis-ci

rm-hull
compensated_readings: make 'timestamp' tz-aware. (#15)

* compensated_readings: make 'timestamp' tz-aware.

The 'timestamp' object in the compensated_readings class was prevously
"naive", meaning it did not have any timezone information and was
therefore ambiguous.  This change explicitly sets the timezone to UTC.

* Restore Python <3.6 compatibility by using pytz's UTC.

* setup.py: remove source-level dep on bme280 module.

Since bme280 now includes dependencies (pytz) outside the stdlib,
it can't be directly imported in the setup.py script. Instead, we now
read the __version__ by reading the __init__.py file directly.

* Also clean up timezone imports on test_bme280.py.

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

140 of 141 relevant lines covered (99.29%)

0.99 hits per line

Jobs
ID Job ID Ran Files Coverage
4 194.4 (TOXENV=py36) 10 Jan 2020 04:05PM UTC 0
99.29
Travis Job 194.4
Source Files on build 194
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #194
  • abf1550a on github
  • Prev Build on master (#193)
  • Next Build on master (#195)
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