code: def test_no_cell_ids():
      """Test that a cell without a cell ID does not pass validation"""
  
      with TestsBase.fopen("v4_5_no_cell_id.ipynb", "r") as f:
          # Avoids validate call from `.read`
          nb = nbformat.from_dict(json.load(f))
      with pytest.raises(ValidationError), pytest.warns(
          DeprecationWarning
      ):
          validate(nb, repair_duplicate_cell_ids=False)
      # try again to verify that we didn't modify the content
      with pytest.raises(ValidationError), pytest.warns(
          DeprecationWarning
      ):
          validate(nb, repair_duplicate_cell_ids=False)
  
imports: from __future__ import annotations
  import json
  import os
  import re
  from copy import deepcopy
  import pytest
  from jsonschema import ValidationError
  import nbformat
  from nbformat import read
  from nbformat.json_compat import VALIDATORS
  from nbformat.validator import isvalid, iter_validate, validate
  from nbformat.warnings import DuplicateCellId, MissingIDFieldWarning
  from .base import TestsBase
label_desc: Use image node_id 28 for calling a global function with example usage: test_no_cell_ids() without return types