#NEWLINE# def test_constructor_multi_index( self ) : #NEWLINE# #INDENT# tuples = [ ( 2 , 3 ) , ( 3 , 3 ) , ( 3 , 3 ) ] #NEWLINE# mi = MultiIndex . from_tuples ( tuples ) #NEWLINE# df = DataFrame ( index = self , columns = mi ) #NEWLINE# self . assertTrue ( pd . isnull ( df ) . values . ravel ( ) . all ( ) ) #NEWLINE# tuples = [ ( 3 , 3 ) , ( 2 , 3 ) , ( 3 , 3 ) ] #NEWLINE# mi = MultiIndex . from_tuples ( tuples ) #NEWLINE# df = DataFrame ( index = mi , columns = mi ) #NEWLINE# self . assertTrue ( pd . isnull ( df ) . values . ravel ( ) . all ( ) )