python-babel / babel

The official repository for Babel, the Python Internationalization Library
http://babel.pocoo.org/
BSD 3-Clause "New" or "Revised" License
1.29k stars 433 forks source link

Fix _locales_to_names (Fix for #1037) #1038

Closed DI84 closed 8 months ago

DI84 commented 8 months ago

Call str() on the parameter variable instead of the module object.

codecov[bot] commented 8 months ago

Codecov Report

Merging #1038 (7784a6f) into master (eeb2feb) will decrease coverage by 0.21%. The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master    #1038      +/-   ##
==========================================
- Coverage   90.50%   90.30%   -0.21%     
==========================================
  Files          25       25              
  Lines        4391     4393       +2     
==========================================
- Hits         3974     3967       -7     
- Misses        417      426       +9     
Files Coverage Δ
babel/support.py 84.76% <0.00%> (ø)

... and 9 files with indirect coverage changes

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more