We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8791c49 commit f6f7dc9Copy full SHA for f6f7dc9
pandas_gbq/tests/test_gbq.py
@@ -1447,7 +1447,7 @@ def test_upload_data_with_invalid_user_schema_raises_error(self):
1447
{'name': 'C', 'type': 'FLOAT'},
1448
{'name': 'D', 'type': 'FLOAT'}]
1449
destination_table = self.destination_table + test_id
1450
- with tm.assertRaises(gbq.StreamingInsertError):
+ with tm.assertRaises(gbq.GenericGBQException):
1451
gbq.to_gbq(df, destination_table, _get_project_id(),
1452
private_key=_get_private_key_path(),
1453
table_schema=test_schema)
@@ -1459,7 +1459,7 @@ def test_upload_data_with_missing_schema_fields_raises_error(self):
1459
{'name': 'B', 'type': 'FLOAT'},
1460
{'name': 'C', 'type': 'FLOAT'}]
1461
1462
1463
1464
1465
0 commit comments