def test_use_privatekey_file_missing(self, tmpfile):
    '\n        `Context.use_privatekey_file` raises `OpenSSL.SSL.Error` when passed\n        the name of a file which does not exist.\n        '
    ctx = Context(TLSv1_METHOD)
    with pytest.raises(Error):
        ctx.use_privatekey_file(tmpfile)
`Context.use_privatekey_file` raises `OpenSSL.SSL.Error` when passed
the name of a file which does not exist.
def test_use_privatekey_file_missing(self, tmpfile):
    '\n        `Context.use_privatekey_file` raises `OpenSSL.SSL.Error` when passed\n        the name of a file which does not exist.\n        '
    ctx = Context(TLSv1_METHOD)
    with pytest.raises(Error):
        ctx.use_privatekey_file(tmpfile)