code: def test_create(probe=None, path=None):
      # only as a probe whether this FS is a crippled one
      ar = AnnexRepo(probe, create=True)
  
      ds = Dataset(path)
      ds.create(
          description="funny",
          # custom git init option
          initopts=dict(shared="world")
          if not ar.is_managed_branch()
          else None,
      )
      ok_(ds.is_installed())
      assert_repo_status(ds.path, annex=True)
  
      # check default backend
      (ds.pathobj / "f1").write_text("1")
      ds.save()
      eq_(ds.repo.get_file_backend(["f1"]), ["MD5E"])
  
      if not ar.is_managed_branch():
          eq_(ds.config.get("core.sharedrepository"), "2")
      # check description in `info`
      cmlout = ds.repo.call_annex(["info"])
      assert_in("funny [here]", cmlout)
      # check dataset ID
      eq_(ds.config.get_value("datalad.dataset", "id"), ds.id)
  
imports: import os
  import os.path
  import pytest
  from datalad.api import create
  from datalad.cmd import WitlessRunner
  from datalad.distribution.dataset import Dataset
  from datalad.support.annexrepo import AnnexRepo
  from datalad.support.exceptions import CommandError
  from datalad.tests.utils_pytest import OBSCURE_FILENAME, assert_in, assert_in_results, assert_not_in, assert_raises, assert_repo_status, assert_status, eq_, has_symlink_capability, ok_, ok_exists, swallow_outputs, with_tempfile, with_tree
  from datalad.utils import Path, chpwd
label_desc: Use image node_id 4 for calling a global function with example usage: test_create(probe, path) without return types