code: def test_compile_specific_catalogs(app, status, warning):
      locale_dir = app.srcdir / "locale"
      catalog_dir = locale_dir / app.config.language / "LC_MESSAGES"
  
      actual_on_boot = set(
          catalog_dir.rglob("*.mo")
      )  # sphinx.mo might be included
      app.builder.compile_specific_catalogs(
          [app.srcdir / "admonitions.txt"]
      )
      actual = {
          str(x.relative_to(catalog_dir))
          for x in catalog_dir.rglob("*.mo")
          if x not in actual_on_boot
      }
      assert actual == {"admonitions.mo"}
  
imports: import shutil
  from pathlib import Path
  import pytest
label_desc: Use image node_id 3 for calling a global function with example usage: test_compile_specific_catalogs(app, status, warning) without return types