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

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

Build:
Build:
LAST BUILD BRANCH: fix-nonmult-doc
DEFAULT BRANCH: master
Ran 11 Feb 2020 03:53AM 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: 89.081% (-0.03%) from 89.11%
PKGS="python=3.8 numpy uncertainties"

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

3557 of 3993 relevant lines covered (89.08%)

0.89 hits per line

Source Files on job 1612.15 (PKGS="python=3.8 numpy uncertainties")
  • 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.15
  • fa86d1af on github
  • Prev Job for PKGS="python=3.8 numpy uncertainties" on develop (#1594.15)
  • Next Job for PKGS="python=3.8 numpy uncertainties" on develop (#1633.15)
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