'L{isIPAddress} evaluates ASCII-encoded bytes as well as text.'

def test_unicodeAndBytes(self):

    self.assertFalse(isIPAddress('256.0.0.0'))
    self.assertFalse(isIPAddress(u'256.0.0.0'))
    self.assertTrue(isIPAddress('252.253.254.255'))
    self.assertTrue(isIPAddress(u'252.253.254.255'))
