-
-
Notifications
You must be signed in to change notification settings - Fork 10.6k
[Bugfix] fix custom op test #25429
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bugfix] fix custom op test #25429
Conversation
Signed-off-by: Luka Govedič <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This pull request addresses a bug in the custom op tests by changing how default environment variables are represented in test parameters, switching from an empty string to None
. The accompanying code changes correctly handle this Optional[str]
type, preventing a crash during test execution. The changes are accurate and effectively resolve the issue. I have one suggestion to further improve the robustness of the test code.
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: Luka Govedič <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
stamping for CI
Signed-off-by: Luka Govedič <[email protected]>
Signed-off-by: Luka Govedič <[email protected]> Signed-off-by: charlifu <[email protected]>
Signed-off-by: Luka Govedič <[email protected]> Signed-off-by: yewentao256 <[email protected]>
Signed-off-by: Luka Govedič <[email protected]> Signed-off-by: gaojc <[email protected]>
Signed-off-by: Luka Govedič <[email protected]> Signed-off-by: xuebwang-amd <[email protected]>
Signed-off-by: Luka Govedič <[email protected]>
Purpose
Fixes custom op test (bug introduced in #24542).
Test Plan
Unit test, CI
Test Result
Passed