class_docstr: Creates a basic test git-annex repository
class_docstr_tok: ["Creates","a","basic","test","git-annex","repository"]
code: def create_info_file(self):
      annex_version = external_versions["cmd:annex"]
      git_version = external_versions["cmd:git"]
      self.create_file(
          "INFO.txt",
          "Testrepo: %s\n"
          "git: %s\n"
          "annex: %s\n"
          "datalad: %s\n"
          % (self.__class__, git_version, annex_version, __version__),
          annex=False,
      )
  
imports: import os
  import tempfile
  from abc import ABCMeta, abstractmethod
  from os.path import exists
  from os.path import join
  from datalad import cfg
  from datalad.customremotes.base import init_datalad_remote
  from ..None import __version__
  from ..support.annexrepo import AnnexRepo
  from ..support.external_versions import external_versions
  from ..support.gitrepo import GitRepo
  from ..support.network import get_local_file_url
  from ..utils import swallow_logs, swallow_outputs
  from .None import _TEMP_PATHS_GENERATED
  from .utils_pytest import get_tempfile_kwargs
label_desc: Use image node_id 2 for calling the BasicAnnexTestRepo obj's underlying member method code with example usage: obj.create_info_file() without return types