(self)
| 1677 | go() |
| 1678 | |
| 1679 | def test_weak_sequence(self): |
| 1680 | class Foo: |
| 1681 | pass |
| 1682 | |
| 1683 | f = Foo() |
| 1684 | |
| 1685 | @assert_cycles() |
| 1686 | def go(): |
| 1687 | util.WeakSequence([f]) |
| 1688 | |
| 1689 | go() |
| 1690 | |
| 1691 | @testing.provide_metadata |
| 1692 | def test_optimized_get(self): |