#NEWLINE# def test_create_image_copy_false_not_c_contiguous( ) : #NEWLINE# #INDENT# pixels = np . ones ( ( 1 , 100 , 100 ) , order = 'F' ) #NEWLINE# with warnings . catch_warnings ( record = True ) as w : #NEWLINE# #INDENT# warnings . simplefilter ( 'always' ) #NEWLINE# Image ( w , copy = False ) #NEWLINE# assert ( len ( w ) == 1 )