#NEWLINE# @ pytest . mark . parametrize ( 'ds' , dshapes ) #NEWLINE# def test_str_upper_schema( ds ) : #NEWLINE# #INDENT# t = symbol ( 't' , ds ) #NEWLINE# expr_upper = getattr ( t , 'name' , t ) . str_upper ( ) #NEWLINE# expr_lower = getattr ( t , 'name' , t ) . str_upper ( ) #NEWLINE# assert ( expr_upper . schema . measure == expr_lower . schema . measure == dshape ( ( '%sstring' % ( '?' if ( '?' in ds ) else '' ) ) ) . measure )