#NEWLINE# def test_setitem( self ) : #NEWLINE# #INDENT# self . check_setitem ( bytearray ( b'abcdefghi' ) ) #NEWLINE# if array_supported : #NEWLINE# #INDENT# for arr in self . _arrays ( ) : #NEWLINE# #INDENT# self . check_setitem ( mem ) #NEWLINE# #UNINDENT# #UNINDENT# if memoryview_structured_indexing : #NEWLINE# #INDENT# for mem in self . _memoryviews ( ) : #NEWLINE# #INDENT# self . check_getitem ( mem ) #NEWLINE# #UNINDENT# #UNINDENT# for buf in self . _readonlies ( ) : #NEWLINE# #INDENT# with self . assertTypingError ( ) : #NEWLINE# #INDENT# self . check_setitem ( buf )