Skip to content
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

Fixing flaky tests test_code and test_minimal_fields_filtering #652

Merged
merged 2 commits into from
Oct 29, 2024

Conversation

jamesbraza
Copy link
Collaborator

@jamesbraza jamesbraza added the bug Something isn't working label Oct 29, 2024
@jamesbraza jamesbraza self-assigned this Oct 29, 2024
@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Oct 29, 2024
def test_code() -> None:
# load this script
doc_path = Path(os.path.abspath(__file__))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Side comment: why did you include these changes to the doc path (moving the directory the doc to THIS_MODULE. Does it actually change functionality or is it a cleanup?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was cleanup, mainly I noticed usage of both os.path and pathlib.Path in the same line and smh'd

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Oct 29, 2024
@jamesbraza jamesbraza merged commit 5237043 into main Oct 29, 2024
3 of 5 checks passed
@jamesbraza jamesbraza deleted the fixing-flaky-tests branch October 29, 2024 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working lgtm This PR has been approved by a maintainer size:M This PR changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants