#NEWLINE# def test_add_subset_with_subset_state( self ) : #NEWLINE# #INDENT# 'Passing a subset state auto-wraps into a subset object' #NEWLINE# state = SubsetState ( ) #NEWLINE# self . data . add_subset ( state ) #NEWLINE# added = self . data . subsets [ ( - 1 ) ] #NEWLINE# assert ( added . subset_state is state ) #NEWLINE# assert ( added . data is state . data )