MCPcopy Create free account
hub / github.com/PyTables/PyTables / check_only_open

Function check_only_open

bench/open_close-bench.py:54–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

52
53
54def check_only_open():
55 for i in range(niter):
56 print("------------------ only_open #%s -------------------------" % i)
57 tref = clock()
58 fileh = tb.open_file(filename)
59 show_stats("Before closing file", tref)
60 fileh.close()
61
62
63def check_full_browse():

Callers

nothing calls this directly

Calls 2

show_statsFunction · 0.70
closeMethod · 0.45

Tested by

no test coverage detected