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

daviddrysdale / python-phonenumbers / 30687164063
100%

Build:
DEFAULT BRANCH: dev
Ran 01 Aug 2026 06:09AM UTC
Jobs 1
Files 596
Run time 1min
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

01 Aug 2026 06:08AM UTC coverage: 100.0%. Remained the same
30687164063

push

github

web-flow
Fix geocoder returning empty when longer prefix lacks requested language (#323)

_prefix_description_for_number immediately returned an empty string when a
longer prefix was found in the geocoding data but did not carry an entry for
the requested language.  This prevented the loop from trying shorter (less
specific) prefixes that do have the language data.

For example, Finnish Helsinki-area numbers (+3589x…) were mapped to 'Finland'
rather than 'Helsinki' when English or Finnish was requested, because the
5-digit prefix '35891' exists with only a Swedish ('se') entry while the
4-digit prefix '3589' carries 'en', 'fi', and 'sv' data.

Fix: instead of returning U_EMPTY_STRING when _find_lang yields None, allow
the loop to continue to shorter prefixes.  Add a regression test that drives
this path using synthetic test geodata so that the fix is verifiable without
depending on the full production data files.

4176 of 4176 relevant lines covered (100.0%)

1.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 30687164063.1 01 Aug 2026 06:09AM UTC 596
100.0
GitHub Action Run
Source Files on build 30687164063
  • Tree
  • List 596
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • bf0c2eda on github
  • Prev Build on dev (#30194273428)
  • Next Build on dev (#30687200578)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc