def test_shortDecimalDotted(self):
        """
        L{isIPAddress} should return C{False} for a dotted decimal
        representation with fewer or more than four octets.
        """
        self.assertFalse(isIPAddress('0'))
        self.assertFalse(isIPAddress('0.1'))
        self.assertFalse(isIPAddress('0.1.2'))
        self.assertFalse(isIPAddress('0.1.2.3.4'))

        L{isIPAddress} should return C{False} for a dotted decimal
        representation with fewer or more than four octets.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/test/test_abstract.py