#NEWLINE# def test_table_raises_on_inconsistent_inputs( ) : #NEWLINE# #INDENT# with pytest . raises ( ValueError ) as excinfo : #NEWLINE# #INDENT# t = data ( tdata , schema = '{name: string, amount: float32}' , dshape = dshape ( '{name: string, amount: float32}' ) ) #NEWLINE# #UNINDENT# assert ( 'specify one of schema= or dshape= keyword' in str ( excinfo . value ) )