#NEWLINE# def test_settings_frozen_at_creation( self ) : #NEWLINE# #INDENT# w = self . build ( ) #NEWLINE# v = w . _coordinator #NEWLINE# roi = MagicMock ( ) #NEWLINE# s = CustomSubsetState ( type ( v ) , roi , v . settings ( ) ) #NEWLINE# w . flip = True #NEWLINE# assert_array_equal ( s . to_mask ( self . data ) , [ False , True , True ] )