Skip to content

fix: replace bare except with except Exception in tests#734

Closed
AmSach wants to merge 1 commit into
brazilian-utils:mainfrom
AmSach:fix/bare-except-in-tests
Closed

fix: replace bare except with except Exception in tests#734
AmSach wants to merge 1 commit into
brazilian-utils:mainfrom
AmSach:fix/bare-except-in-tests

Conversation

@AmSach

@AmSach AmSach commented May 26, 2026

Copy link
Copy Markdown

Fixed bare except blocks in tests/test_email.py by replacing them with 'except Exception', following Python best practices and improving error handling clarity.

@AmSach AmSach requested review from a team as code owners May 26, 2026 01:08
@codecov

codecov Bot commented May 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.08%. Comparing base (5dc9585) to head (8a549f3).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #734   +/-   ##
=======================================
  Coverage   99.08%   99.08%           
=======================================
  Files          26       26           
  Lines         765      765           
=======================================
  Hits          758      758           
  Misses          7        7           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@niltonpimentel02

Copy link
Copy Markdown
Member

hello @AmSach thanks for your pr but we don't have an issue for this at this time.. so I will close your pr for now.

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.

2 participants