code: def test_info_in_subdir(tmp_dir, scm, caplog):
      dvc_subdir = tmp_dir / "subdir"
      dvc_subdir.mkdir()
  
      with dvc_subdir.chdir():
          dvc_subdir.init(scm=False, dvc=True)
          with dvc_subdir.dvc.config.edit() as conf:
              del conf["core"]["no_scm"]
  
          dvc_info = get_dvc_info()
  
      assert "Repo: dvc (subdir), git" in dvc_info
  
file_path: dvc/tests/unit/test_info.py
imports: import os
  import re
  import shutil
  import pytest
  from dvc.info import SUBPROJECTS, get_dvc_info
label_desc: Use image node_id 3 for calling a global function with example usage: test_info_in_subdir(tmp_dir, scm, caplog) without return types