':py:`PKeyType.check` returns :py:exc:`Error` if the key is not consistent.'

def test_inconsistentKey(self):

    key = load_privatekey(FILETYPE_PEM, inconsistentPrivateKeyPEM)
    self.assertRaises(Error, key.check)
