def assertIsNotSubanagram(self, word1, word2): self.assertFalse( is_subanagram(word1, word2), "%r is a sub-anagram of %r" % (word1, word2))
def assertIsSubanagram(self, word1, word2): self.assertTrue( is_subanagram(word1, word2), "%r is not a sub-anagram of %r" % (word1, word2))