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

def test_bwHackDeprecation(self):

    UNIXAddress(None, _bwHack='UNIX')
    message = 'twisted.internet.address.UNIXAddress._bwHack    is    deprecated    since    Twisted    11.0'
    return self.assertDeprecations(self.test_bwHackDeprecation, message)
