1 from __future__
import absolute_import
9 fi = TFile(
'tree.root',
'RECREATE')
10 tr =
Tree(
'test_tree',
'A test tree')
21 fi = TFile(
'tree.root')
22 tr = fi.Get(
'test_tree')
23 self.assertEqual(tr.GetEntries(), 1)
25 self.assertEqual(tr.a, 4)
28 fi = TFile(
'tree.root')
29 tr = fi.Get(
'test_tree')
31 self.assertEqual(ev.a, 4)
35 if __name__ ==
'__main__':