code: def _test_reveal(
      path: str, reveal: str, expected_reveal: str, lineno: int
  ) -> None:
      if reveal not in expected_reveal:
          raise AssertionError(
              _REVEAL_MSG.format(lineno, expected_reveal, reveal)
          )
  
imports: import itertools
  import os
  import re
  import shutil
  import unittest
  from collections import defaultdict
  from threading import Lock
  from typing import Dict, IO, List, Optional
  from torch.testing._internal.common_utils import instantiate_parametrized_tests, parametrize, run_tests, TestCase
label_desc: Use image node_id 8 for calling a global function with example usage: _test_reveal(path, reveal, expected_reveal, lineno) without return types