code: def test_doctests_examples():
      if sys.version_info >= (3, 6):
          # python 3.5 and lower do not keep ordered dictionaries
          testmod(
              einops.layers,
              raise_on_error=True,
              extraglobs=dict(np=numpy),
          )
          testmod(
              einops.einops,
              raise_on_error=True,
              extraglobs=dict(np=numpy),
          )
  
imports: import sys
  import unittest
  from doctest import testmod
  from typing import Dict, List, Optional
  import numpy
  import pytest
  from parameterized import parameterized, parameterized_class
  import einops
  import einops.layers
  import einops.parsing
  from einops._backends import AbstractBackend
  from einops.einops import rearrange, parse_shape, _optimize_transformation
  from .None import collect_test_backends, is_backend_tested
label_desc: Use image node_id 1 for calling a global function with example usage: test_doctests_examples() without return types