MCPcopy Create free account
hub / github.com/pybind/pybind11 / create_and_destroy

Function create_and_destroy

tests/test_factory_constructors.py:348–352  ·  view source on GitHub ↗
(*args)

Source from the content-addressed store, hash-verified

346
347
348def create_and_destroy(*args):
349 a = m.NoisyAlloc(*args)
350 print("---")
351 del a
352 pytest.gc_collect()
353
354
355def strip_comments(s):

Callers 7

test_reallocation_aFunction · 0.85
test_reallocation_bFunction · 0.85
test_reallocation_cFunction · 0.85
test_reallocation_dFunction · 0.85
test_reallocation_eFunction · 0.85
test_reallocation_fFunction · 0.85
test_reallocation_gFunction · 0.85

Calls 2

printFunction · 0.85
NoisyAllocMethod · 0.80

Tested by

no test coverage detected