code: def test_env(self):
      ctx = Context(
          ".",
          _env={
              "CUPY_USE_CUDA_PYTHON": "1",
              "CUPY_INSTALL_USE_HIP": "1",
              "CUPY_INCLUDE_PATH": f"/tmp/include{os.pathsep}/tmp2/include",
              "CUPY_LIBRARY_PATH": f"/tmp/lib{os.pathsep}/tmp2/lib",
          },
          _argv=[],
      )
  
      assert ctx.use_cuda_python
      assert ctx.use_hip
      assert ctx.include_dirs == ["/tmp/include", "/tmp2/include"]
      assert ctx.library_dirs == ["/tmp/lib", "/tmp2/lib"]
  
file_path: cupy/tests/install_tests/test_cupy_builder/test_context.py
imports: import os
  from cupy_builder._context import _get_env_bool, _get_env_path, Context, parse_args
label_desc: Use image node_id 2 for calling the TestContext obj's underlying member method code with example usage: obj.test_env() without return types