def test_grant_privileges_incorrect_role_type(self):
        try:
            self.client.admin_grant_privileges(
                1, [{"code": aerospike.PRIV_USER_ADMIN}])

        except e.ParamError as exception:
            assert exception.code == -2
            assert exception.msg == "Role name should be a string"
Solves the system (s*I + A*B*A') * x = rhs for an arbitrary rhs.
dataset/ETHPy150Open aerospike/aerospike-client-python/test/old_tests/test_admin_grant_privileges.py/TestGrantPrivileges.test_grant_privileges_incorrect_role_type--crossover with--dataset/ETHPy150Open statsmodels/statsmodels/statsmodels/regression/mixed_linear_model.py/_smw_solver