code: def test_function_load(self, r):
      assert b"mylib" == r.function_load(
          f"#!{engine} name={lib} \n {function}"
      )
      assert b"mylib" == r.function_load(
          f"#!{engine} name={lib} \n {function}", replace=True
      )
      with pytest.raises(ResponseError):
          r.function_load(f"#!{engine} name={lib} \n {function}")
      with pytest.raises(ResponseError):
          r.function_load(f"#!{engine} name={lib2} \n {function}")
  
file_path: redis-py/tests/test_function.py
imports: import pytest
  from redis.exceptions import ResponseError
  from .conftest import assert_resp_response, skip_if_server_version_lt
label_desc: Use image node_id 2 for calling the TestFunction obj's underlying member method code with example usage: obj.test_function_load(r) without return types