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

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

Build:
DEFAULT BRANCH: master
Ran 22 Jan 2019 02:55PM 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: 89.161% (-0.3%) from 89.461%
PYTHON_VERSION=2.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.

159 of 180 branches covered (88.33%)

Branch coverage included in aggregate %.

606 of 678 relevant lines covered (89.38%)

0.89 hits per line

Source Files on job 318.1 (PYTHON_VERSION=2.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.1
  • 1e9af2ad on github
  • Prev Job for PYTHON_VERSION=2.7 on master (#315.1)
  • Next Job for PYTHON_VERSION=2.7 on master (#321.1)
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