#NEWLINE# def test_cache_size4( self ) : #NEWLINE# #INDENT# n = cnestedlist . NLMSA ( 'test' , mode = 'memory' , pairwiseMode = True , maxSequenceCacheSize = 4 ) #NEWLINE# self . _add_seqs ( n ) #NEWLINE# assert ( len ( n . seqs . _cache ) == 3 ) , len ( n . seqs . _cache )