#NEWLINE# @ pytest . mark . parametrize ( 'data,res' , [ ( 1 , False ) , ( 'foo' , False ) , ( [ 1 , 2 ] , True ) , ( ( 1 , 2 ) , True ) , ( pd . Series ( [ 1 , 2 ] ) , True ) , ( pd . DataFrame ( [ [ 1 , 2 ] , [ 3 , 4 ] ] ) , True ) , ( np . ndarray ( [ 1 , 2 ] ) , True ) , ( into ( da . core . Array , [ 1 , 2 ] , chunks = ( 10 , ) ) , False ) ] ) #NEWLINE# def test_iscoresequence( data , res ) : #NEWLINE# #INDENT# assert ( iscoresequence ( data ) == res )