コード例 #1
0
 def assertNotSimilar(self, a, b):
     self.failIf(similar(a, b), '%s == %s' % (a, b))
コード例 #2
0
 def assertSimilar(self, a, b):
     'Assert that two ASTs are structurally equivalent.'
     self.assert_(similar(a, b), '%s != %s' % (a, b))
コード例 #3
0
 def assertSimilar(self, a, b):
     'Assert that two ASTs are structurally equivalent.'
     self.assert_(similar(a, b), '%s != %s' % (a,b))
コード例 #4
0
 def assertNotSimilar(self, a, b):
     self.failIf(similar(a, b), '%s == %s' % (a,b))
コード例 #5
0
 def assertNotSimilar(self, a, b):
     self.assertFalse(similar(a, b), '%s == %s' % (a, b))