eumiro commented on code in PR #33130:
URL: https://github.com/apache/airflow/pull/33130#discussion_r1284973351
##########
tests/cli/commands/test_config_command.py:
##########
@@ -194,9 +194,7 @@ def test_cli_comment_out_everything(self):
)
output = temp_stdout.getvalue()
lines = output.split("\n")
- assert all(
- line.startswith("#") or line.strip() == "" or line.startswith("[")
for line in lines if line
- )
+ assert all(not line.strip() or line.startswith(("#", "[")) for line
in lines if line)
Review Comment:
Thanks!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]