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

SciTools / cf-units / 318 / 3
92%
master: 92%

Build:
DEFAULT BRANCH: master
Ran 22 Jan 2019 02:54PM UTC
Files 4
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 Jan 2019 02:52PM UTC coverage: 88.439% (-1.2%) from 89.667%
PYTHON_VERSION=3.7

push

travis-ci

bjlittle
Unicode support (#135)

* Always treat units as unicode. Closes #133.

Also, allow a file encoding in the coding standards test, so that we can have some literal unicode characters for testing with.

* Fix date2num test which is incorrectly using repr when str was intended.

* Tidy up the Unit constructor for the py2 case, so that it is easier to see that the code can be deleted when the codebase becomes py3 only.

* Handle unicode object in py2 specially, and always ensure that py2k returns a non-unicode for __str__ (unless sys.getdefaultencoding says otherwise).

* Ensure that the error raised in Unit constructor handles unicode too.

162 of 187 branches covered (86.63%)

Branch coverage included in aggregate %.

603 of 678 relevant lines covered (88.94%)

0.89 hits per line

Source Files on job 318.3 (PYTHON_VERSION=3.7)
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 48
  • Travis Job 318.3
  • 1e9af2ad on github
  • Prev Job for PYTHON_VERSION=3.7 on master (#315.3)
  • Next Job for PYTHON_VERSION=3.7 on master (#321.3)
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