ashb commented on a change in pull request #15057:
URL: https://github.com/apache/airflow/pull/15057#discussion_r631795901
##########
File path: tests/providers/apache/hive/hooks/test_hive.py
##########
@@ -229,7 +229,7 @@ def test_load_file_create_table(self, mock_run_cli):
filepath = "/path/to/input/file"
table = "output_table"
field_dict = OrderedDict([("name", "string"), ("gender", "string")])
- fields = ",\n ".join([f"`{k.strip('`')}` {v}" for k, v in
field_dict.items()])
+ fields = ",\n ".join(['`{k}` {v}'.format(k=k.strip('`'), v=v) for
k, v in field_dict.items()])
Review comment:
```suggestion
fields = ",\n ".join([f"`{k.strip('`')}` {v}" for k, v in
field_dict.items()])
```
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]