Skip to content

Conversation

@gordonwatts
Copy link
Member

Summary

  • include the function name and source call when raising the required-argument ValueError so users get actionable context
  • assert the detailed error message in the required argument test to demonstrate the new messaging

Testing

  • black --check .
  • flake8
  • pytest

https://chatgpt.com/codex/tasks/task_e_68d2bbfe5b6083208ac2937947a55a5b

@codecov-commenter
Copy link

codecov-commenter commented Sep 24, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.45%. Comparing base (6032d7c) to head (d3a6f26).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #203   +/-   ##
=======================================
  Coverage   97.45%   97.45%           
=======================================
  Files          15       15           
  Lines        1454     1456    +2     
=======================================
+ Hits         1417     1419    +2     
  Misses         37       37           
Flag Coverage Δ
unittests 97.45% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ 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.

@gordonwatts gordonwatts self-assigned this Sep 24, 2025
@gordonwatts gordonwatts merged commit 0226db9 into master Sep 24, 2025
16 checks passed
@gordonwatts gordonwatts deleted the codex/enhance-error-message-in-type_based_replacement.py branch September 24, 2025 07:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants