def test_load_client_ca_unicode(self, context, ca_file): """ Passing the path as unicode raises a warning but works. """ pytest.deprecated_call( context.load_client_ca, ca_file.decode("ascii") )