Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

misc: use the new plan/run API for unittests #467

Merged
merged 3 commits into from
Aug 26, 2024
Merged

misc: use the new plan/run API for unittests #467

merged 3 commits into from
Aug 26, 2024

Conversation

yzh119
Copy link
Collaborator

@yzh119 yzh119 commented Aug 26, 2024

In the previous PR #466 we replace the old-style begin_forward/end_forward/forward APIs with the new plan/run APIs, but didn't update the unit tests accordingly (this is intentional because we want a commit that keeps unit tests that uses the old-style API to check backward compatibility).

This PR updates the unit tests with new APIs.

Some other changes:

  • Remove old-style APIs from docstring.
  • Fix some errors in docstring with new APIs.

@yzh119 yzh119 merged commit 78ec6db into main Aug 26, 2024
yzh119 added a commit that referenced this pull request Aug 26, 2024
The usage of exclude-members in #467 is wrong, this PR fixes the issue.
@yzh119 yzh119 deleted the test-plan-run branch August 27, 2024 04:51
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant