'If a value is passed for the C{_bwHack} parameter to L{IPv4Address},
a deprecation warning is emitted.'

def test_bwHackDeprecation(self):

    IPv4Address('UDP', '127.0.0.3', 0, _bwHack='UDP')
    message = 'twisted.internet.address.IPv4Address._bwHack    is    deprecated    since    Twisted    11.0'
    return self.assertDeprecations(self.test_bwHackDeprecation, message)
