| 2779 | def test_proper_refcounts(self): |
| 2780 | # see: https://github.com/python/cpython/issues/126083 |
| 2781 | class Break: |
| 2782 | def __str__(self): |
| 2783 | raise RuntimeError("break") |
| 2784 | |
| 2785 | obj = object() |
| 2786 | initial_refcount = sys.getrefcount(obj) |
no outgoing calls