def test_use_certificate_file_bytes(self, tmpfile):
    '\n        `Context.use_certificate_file` sets the certificate (given as a\n        `bytes` filename) which will be used to identify connections created\n        using the context.\n        '
    filename = (tmpfile + NON_ASCII.encode(getfilesystemencoding()))
    self._use_certificate_file_test(filename)
`Context.use_certificate_file` sets the certificate (given as a
`bytes` filename) which will be used to identify connections created
using the context.
def test_use_certificate_file_bytes(self, tmpfile):
    '\n        `Context.use_certificate_file` sets the certificate (given as a\n        `bytes` filename) which will be used to identify connections created\n        using the context.\n        '
    filename = (tmpfile + NON_ASCII.encode(getfilesystemencoding()))
    self._use_certificate_file_test(filename)