Serhiy Storchaka added the comment: We can do this in the setUpClass() method.
Or we can wrap the resolve_address() method with the @functools.lru_cache() decorator. ---------- nosy: +serhiy.storchaka _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue16463> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com