-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Conversation
@@ -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") |
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.
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.
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.
Looks good!
Fixes #3922.