def test_lookupAddressDeprecated(self):
        # Don't care about the return value, since it will never have a result,
        # since StubDNSDatagramProtocol doesn't actually work.
        lookupAddress('example.com', '127.0.0.1', StubDNSDatagramProtocol())

        warnings = self.flushWarnings([
                self.test_lookupAddressDeprecated])
        self.assertEquals(warnings[0]['category'], DeprecationWarning)
        self.assertEquals(
            warnings[0]['message'],
            'twisted.names.root.lookupAddress is deprecated since Twisted '
            '10.0.  Use twisted.names.root.Resolver.lookupAddress '
            'instead.')
        self.assertEquals(len(warnings), 1)
Updates the flattened appearance of the group box.
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/names/test/test_rootresolve.py/DiscoveryToolsTests.test_lookupAddressDeprecated--crossover with--dataset/ETHPy150Open ContinuumIO/ashiba/enaml/enaml/wx/wx_group_box.py/WxGroupBox.set_flat