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

Use inline flags for test cases #3931

Merged
merged 13 commits into from
Oct 10, 2023
Merged

Conversation

JelleZijlstra
Copy link
Collaborator

Fixes #3922.

@JelleZijlstra JelleZijlstra added the skip news Pull requests that don't need a changelog entry. label Oct 7, 2023
@@ -209,8 +211,8 @@ def test_piping_diff(self) -> None:
r"(STDIN|STDOUT)\t\d\d\d\d-\d\d-\d\d \d\d:\d\d:\d\d\.\d\d\d\d\d\d"
r"\+\d\d:\d\d"
)
source, _ = read_data("simple_cases", "expression.py")
expected, _ = read_data("simple_cases", "expression.diff")
source, _ = read_data("cases", "expression.py")
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Possibly the test cases in this file that use read_data() should be cleaned up, especially those using the cases directory, but that can wait for another PR.

Copy link
Collaborator

@hauntsaninja hauntsaninja left a comment

Choose a reason for hiding this comment

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

Looks good!

@JelleZijlstra JelleZijlstra merged commit a69bda3 into psf:main Oct 10, 2023
38 checks passed
@JelleZijlstra JelleZijlstra deleted the testflags branch October 10, 2023 01:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip news Pull requests that don't need a changelog entry.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support inline flags in test cases
2 participants