def test_revoke_privileges_incorrect_privilege_type(self):
        try:
            self.client.admin_revoke_privileges("usr-sys-admin-test", None)

        except e.ParamError as exception:
            assert exception.code == -2
            assert exception.msg == "Privileges should be a list"
Closes the pool
dataset/ETHPy150Open aerospike/aerospike-client-python/test/old_tests/test_admin_revoke_privileges.py/TestRevokePrivilege.test_revoke_privileges_incorrect_privilege_type--crossover with--dataset/ETHPy150Open smore-inc/tinys3/tinys3/pool.py/Pool.__exit__