#NEWLINE# @ pytest . fixture #NEWLINE# def spec( ) : #NEWLINE# #INDENT# data = dict ( x = [ 1.0 , 2.0 , 3.0 ] , y = [ 4.0 , 5.0 , 6.0 ] ) #NEWLINE# result = api . Viz ( data ) . encode ( x = 'x:Q' , y = 'y:Q' ) . line ( ) #NEWLINE# return data