We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 31026aa commit 31c4b1bCopy full SHA for 31c4b1b
system_tests/bigquery.py
@@ -265,11 +265,12 @@ def test_load_table_from_storage_then_dump_table(self):
265
blob = bucket.blob(BLOB_NAME)
266
self.to_delete.insert(0, blob)
267
268
- with tempfile.TemporaryFile() as f:
269
- writer = csv.writer(f)
+ with tempfile.TemporaryFile() as csv_file:
+ writer = csv.writer(csv_file)
270
writer.writerow(('Full Name', 'Age'))
271
writer.writerows(ROWS)
272
- blob.upload_from_file(f, rewind=True, content_type='text/csv')
+ blob.upload_from_file(
273
+ csv_file, rewind=True, content_type='text/csv')
274
275
dataset = CLIENT.dataset(DATASET_NAME)
276
dataset.create()
0 commit comments