'If :py:obj:`CRL.export` is used with an uninitialized :py:obj:`X509`
instance, :py:obj:`OpenSSL.crypto.Error` is raised.'

def test_export_invalid(self):

    crl = CRL()
    self.assertRaises(Error, crl.export, X509(), PKey())
