Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/sqlalchemy/sqlalchemy
/ wrap
Function
wrap
test/perf/compiled_extensions/base.py:7–11 ·
view source on GitHub ↗
(fn)
Source
from the content-addressed store, hash-verified
5
6
def
test_case(fn=None, *, number=None):
7
def
wrap(fn):
8
fn.__test_case__ = True
9
if
number is not None:
10
fn.__number__ = number
11
return
fn
12
13
if
fn is None:
14
return
wrap
Callers
3
test_case
Function · 0.70
init_objects
Method · 0.70
init_objects
Method · 0.70
Calls
no outgoing calls
Tested by
1
test_case
Function · 0.56