Skip to content

Conversation

@akx
Copy link
Member

@akx akx commented Jan 25, 2023

See https://stackoverflow.com/a/24271786/51685

My bad! I had remembered the behavior to be like with Python 2...

@akx akx enabled auto-merge (squash) January 25, 2023 19:41
@codecov
Copy link

codecov bot commented Jan 25, 2023

Codecov Report

Merging #959 (1a616cf) into master (2c1875e) will decrease coverage by 0.67%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master     #959      +/-   ##
==========================================
- Coverage   90.50%   89.84%   -0.67%     
==========================================
  Files          25       25              
  Lines        4401     4400       -1     
==========================================
- Hits         3983     3953      -30     
- Misses        418      447      +29     
Impacted Files Coverage Δ
babel/dates.py 84.95% <0.00%> (-0.03%) ⬇️
babel/localtime/_win32.py 25.92% <0.00%> (-37.04%) ⬇️
babel/localtime/_helpers.py 50.00% <0.00%> (-11.54%) ⬇️
babel/localtime/__init__.py 75.00% <0.00%> (-8.34%) ⬇️
babel/localedata.py 95.16% <0.00%> (-0.81%) ⬇️
babel/messages/frontend.py 86.78% <0.00%> (-0.74%) ⬇️

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

@akx akx merged commit a87422f into master Jan 25, 2023
Comment on lines +249 to +250
except pytz.UnknownTimeZoneError as e:
exc = e
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the variable is not used, can't it be removed?

Suggested change
except pytz.UnknownTimeZoneError as e:
exc = e
except pytz.UnknownTimeZoneError:
pass

@akx akx deleted the unbound-exc branch December 12, 2023 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants