Closed
Description
The buildbots show a refleak in test_super. I narrowed it down to this:
"""Unit tests for zero-argument super() & related machinery."""
import unittest
class TestSuper(unittest.TestCase):
def test_attribute_error(self):
class C:
def method(self):
return super().msg
try:
C().method()
except AttributeError:
pass
if __name__ == "__main__":
unittest.main()
And found a fix. PR incoming.