Ivan Levkivskyi added the comment: It looks like the tearDown() works really well. It also somehow fixes the problem with test_generic_forward_ref ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue28649> _______________________________________