()
| 119 | |
| 120 | |
| 121 | def check_open_leaf(): |
| 122 | for i in range(niter): |
| 123 | print("------------------ open_leaf #%s -----------------------" % i) |
| 124 | tref = clock() |
| 125 | fileh = tb.open_file(filename) |
| 126 | leaf = fileh.root.ngroup0.ngroup1.array9 |
| 127 | # Access to an attribute |
| 128 | _ = leaf._v_attrs.CLASS |
| 129 | fileh.close() |
| 130 | show_stats("After closing file", tref) |
| 131 | |
| 132 | |
| 133 | if __name__ == "__main__": |
nothing calls this directly
no test coverage detected