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

hgrecco / pint / 1612 / 16
92%
master: 91%

Build:
Build:
LAST BUILD BRANCH: fix-nonmult-doc
DEFAULT BRANCH: master
Ran 11 Feb 2020 03:54AM UTC
Files 18
Run time 2s
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

11 Feb 2020 03:45AM UTC coverage: 87.478% (-0.02%) from 87.497%
PKGS="python xarray netCDF4"

push

travis-ci

hgrecco
Make `__str__` and `__format__` locale aware

With this commit, all string formatting operations are locale aware

    >>> ureg.set_fmt_locale('fr_FR')
    >>> str(accel)
    '1.3 mètre par seconde²'
    >>> "%s" % accel
    '1.3 mètre par seconde²'
    >>> "{}".format(accel)
    '1.3 mètre par seconde²'

It should not break any code as the default locale value for the
Registry is `None` (meaning do not localize).

Close #984

3493 of 3993 relevant lines covered (87.48%)

0.87 hits per line

Source Files on job 1612.16 (PKGS="python xarray netCDF4")
  • Tree
  • List 0
  • Changed 3
  • Source Changed 3
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1493
  • Travis Job 1612.16
  • fa86d1af on github
  • Prev Job for PKGS="python xarray netCDF4" on develop (#1594.16)
  • Next Job for PKGS="python xarray netCDF4" on develop (#1633.16)
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