def assertIsNotSubdomainOf(testCase, descendant, ancestor):
 testCase.assertFalse(dns._isSubdomainOf(descendant, ancestor), ('%r is a subdomain of %r' % (descendant, ancestor)))

def assertIsNotSubdomainOf ( testCase , descendant , ancestor ) : testCase . assertFalse ( dns . _isSubdomainOf ( descendant , ancestor ) , ( '%r is a subdomain of %r' % ( descendant , ancestor ) ) )
assert that c{descendant} *is not* a subdomain of c{ancestor} .