':py:obj:`Context.use_privatekey_file` raises :py:obj:`OpenSSL.SSL.Error`
when passed the name of a file which does not exist.'

def test_use_privatekey_file_missing(self):

    ctx = Context(TLSv1_METHOD)
    self.assertRaises(Error, ctx.use_privatekey_file, self.mktemp())
