'{sslverify.KeyPair.__setstate__} is deprecated.'

def test_setstateDeprecation(self):

    state = sslverify.KeyPair(self.sKey).dump()
    self.callDeprecated((Version('Twisted', 15, 0, 0), 'a    real    persistence    system'), sslverify.KeyPair(self.sKey).__setstate__, state)
