def last(o): path, l = lastfn(str(gettype(o))) if l: o.update(l) if path: spl = path.split(os.sep) stp = os.sep.join(spl[-4:]) return stp
def test_intern4(self): o = Object() self.assertTrue(gettype(o) in o.__stp__)