def tearDown(self): xmppstringprep.set_stringprep_cache_size( self.saved_stringprep_cache_size)
def tearDown(self): xmppstringprep.set_stringprep_cache_size(self.saved_stringprep_cache_size)
def setUp(self): import weakref JID.cache = weakref.WeakValueDictionary() self.saved_stringprep_cache_size = xmppstringprep.stringprep_cache_size xmppstringprep.set_stringprep_cache_size(0)