#NEWLINE# def test_schema_setter_invalid_field( self ) : #NEWLINE# #INDENT# from gcloud.bigquery.table import SchemaField #NEWLINE# client = _Client ( self . PROJECT ) #NEWLINE# dataset = _Dataset ( client ) #NEWLINE# table = self . _makeOne ( table . TABLE_NAME , dataset ) #NEWLINE# full_name = SchemaField ( 'full_name' , 'STRING' , mode = 'REQUIRED' ) #NEWLINE# with self . assertRaises ( ValueError ) : #NEWLINE# #INDENT# table . schema = [ full_name , object ( ) ]