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

SciTools / cf-units / 318
92%

Build:
DEFAULT BRANCH: master
Ran 22 Jan 2019 02:54PM UTC
Jobs 3
Files 4
Run time 38s
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
318

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.

155 of 180 branches covered (86.11%)

Branch coverage included in aggregate %.

603 of 678 relevant lines covered (88.94%)

2.67 hits per line

Jobs
ID Job ID Ran Files Coverage
1 318.1 (PYTHON_VERSION=2.7) 22 Jan 2019 02:55PM UTC 0
89.16
Travis Job 318.1
2 318.2 (PYTHON_VERSION=3.6) 22 Jan 2019 02:54PM UTC 0
88.44
Travis Job 318.2
3 318.3 (PYTHON_VERSION=3.7) 22 Jan 2019 02:54PM UTC 0
88.44
Travis Job 318.3
Source Files on build 318
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #318
  • 1e9af2ad on github
  • Prev Build on master (#315)
  • Next Build on master (#321)
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