Skip to content

tests/ports/stm32: Use "raise e" instead of raise without an argument.#19244

Closed
dpgeorge wants to merge 1 commit into
micropython:masterfrom
dpgeorge:tests-dont-use-raise-no-args
Closed

tests/ports/stm32: Use "raise e" instead of raise without an argument.#19244
dpgeorge wants to merge 1 commit into
micropython:masterfrom
dpgeorge:tests-dont-use-raise-no-args

Conversation

@dpgeorge
Copy link
Copy Markdown
Member

Summary

The native emitter cannot compile "raise" without an argument.

Testing

Can now run the stm32-specific tests with the native emitter.

Generative AI

I did not use generative AI tools when creating this PR.

The native emitter cannot compile "raise" without an argument.

Signed-off-by: Damien George <damien@micropython.org>
@dpgeorge dpgeorge added the tests Relates to tests/ directory in source label May 19, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented May 19, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.47%. Comparing base (1c63211) to head (70d9562).

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #19244   +/-   ##
=======================================
  Coverage   98.47%   98.47%           
=======================================
  Files         176      176           
  Lines       22845    22845           
=======================================
  Hits        22497    22497           
  Misses        348      348           

☔ 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@dpgeorge
Copy link
Copy Markdown
Member Author

Subsumed by #19245.

@dpgeorge dpgeorge closed this May 19, 2026
@dpgeorge dpgeorge deleted the tests-dont-use-raise-no-args branch May 19, 2026 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tests Relates to tests/ directory in source

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant