class_docstr: Unit tests for the base LLM class
code: def test_extract_code(self):
      code = """Sure, here is your code:
  ```python
  print('Hello World')
  ```
  """
      assert LLM()._extract_code(code) == "print('Hello World')"
  
      code = """Sure, here is your code:
  
  ```
  print('Hello World')
  ```
  """
      assert LLM()._extract_code(code) == "print('Hello World')"
  
      code = """Sure, here is your code:
  
  ```py
  print('Hello World')
  ```
  """
  
      assert LLM()._extract_code(code) == "print('Hello World')"
  
file_path: pandas-ai/tests/llms/test_base_llm.py
imports: import pytest
  from pandasai.exceptions import APIKeyNotFoundError
  from pandasai.llm import LLM
label_desc: Use image node_id 5 for calling the TestBaseLLM obj's underlying member method code with example usage: obj.test_extract_code() without return types