MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / test_weak_sequence

Method test_weak_sequence

test/aaa_profiling/test_memusage.py:1679–1689  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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):

Callers

nothing calls this directly

Calls 2

FooClass · 0.70
goFunction · 0.70

Tested by

no test coverage detected