Ivan Levkivskyi added the comment:

It looks like this part is causing a refleak

    def test_do_not_recreate_annotations(self):
        class C:
            del __annotations__
            try: #with self.assertRaises(NameError):
                x: int
            except NameError:
                pass

in test_opcodes

(for both options -- try and with)

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue27985>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to