Amaury Forgeot d'Arc <amaur...@gmail.com> added the comment: No, the feature is not present in current unittest; the patch is still applicable. I'm concerned with backward compatibility, though.
To achieve the same result, the common usage is a mixin class. See for example Lib/test/test_codecencoding_cn.py: class BaseTest: ... test functions, setup, teardown ... class TestBlah(BaseTest, unittest.TestCase): ... subclass here ... This is not too bad. I suggest to close this issue as "won't fix". ---------- nosy: +amaury.forgeotdarc _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue1244929> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com