code: def test_entire_notebook_empty_metadata() -> None:
      content = read_jupyter_notebook(
          "jupyter", "notebook_empty_metadata"
      )
      result = format_file_contents(
          content, fast=True, mode=JUPYTER_MODE
      )
      expected = (
          "{\n"
          ' "cells": [\n'
          "  {\n"
          '   "cell_type": "code",\n'
          '   "execution_count": null,\n'
          '   "metadata": {\n'
          '    "tags": []\n'
          "   },\n"
          '   "outputs": [],\n'
          '   "source": [\n'
          '    "%%time\\n",\n'
          '    "\\n",\n'
          '    "print(\\"foo\\")"\n'
          "   ]\n"
          "  },\n"
          "  {\n"
          '   "cell_type": "code",\n'
          '   "execution_count": null,\n'
          '   "metadata": {},\n'
          '   "outputs": [],\n'
          '   "source": []\n'
          "  }\n"
          " ],\n"
          ' "metadata": {},\n'
          ' "nbformat": 4,\n'
          ' "nbformat_minor": 4\n'
          "}\n"
      )
      assert result == expected
  
imports: import contextlib
  import pathlib
  import re
  from contextlib import ExitStack
  from dataclasses import replace
  from typing import ContextManager
  import pytest
  from _pytest.monkeypatch import MonkeyPatch
  from click.testing import CliRunner
  from black import Mode, NothingChanged, format_cell, format_file_contents, format_file_in_place, main
  from black.handle_ipynb_magics import jupyter_dependencies_are_installed
  from tests.util import DATA_DIR, get_case_path, read_jupyter_notebook
label_desc: Use image node_id 23 for calling a global function with example usage: test_entire_notebook_empty_metadata() without return types