code: def test_nb4jupyter_metadata_timings(validator_name):
      """Tests that a notebook with "timing" in metadata passes validation"""
      set_validator(validator_name)
      with TestsBase.fopen(
          "test4jupyter_metadata_timings.ipynb", "r"
      ) as f:
          nb = read(f, as_version=4)
      validate(nb)
      assert isvalid(nb)
  
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 15 for calling a global function with example usage: test_nb4jupyter_metadata_timings(validator_name) without return types