'The :py:data:`issuer` parameter to :py:class:`X509Extension` may be provided for an
extension which does not use it and is ignored in this case.'

def test_unused_issuer(self):

    ext1 = X509Extension(b('basicConstraints'), False, b('CA:TRUE'), issuer=self.x509)
    self.x509.add_extensions([ext1])
    self.x509.sign(self.pkey, 'sha1')
    text = dump_certificate(FILETYPE_TEXT, self.x509)
    self.assertTrue((b('X509v3    Basic    Constraints:') in text))
    self.assertTrue((b('CA:TRUE') in text))
