def write(self): assert_true(self.GetDirectory() == rootpy.gDirectory())
def something(self, foo): self.file = rootpy.gDirectory() return foo