def chkrel(self, src, dst, relstr=None, clas=None):
	rel = self.relation(src, dst)
	if clas is not None:
	    self.assert_(isinstance(rel, clas))
	if relstr is None:
	    print rel
	else:
            sr = str(rel)
            if sr.startswith('<') and not relstr.startswith('<'):
                self.assert_( sr.endswith('>') )
                sr = sr[1:-1].split(',')
                self.assert_(relstr in sr)
            else:
                self.aseq(sr, relstr)
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/guppy-0.1.10/guppy/heapy/test/test_Path.py/TestCase.chkrel/original