code: def test_header() -> None:
      header = Path(__file__).read_text().splitlines()[0]
      repopath = Path(__file__).parents[1]
      assert repopath.name == "nevergrad"
      assert (repopath.parent / "setup.py").exists()
      output = subprocess.check_output(
          ["find", str(repopath), "-name", "*.py"], shell=False
      ).decode()
      missing: tp.List[str] = []
      for filepath in output.splitlines():
          if "lsgo" in filepath:
              continue
          if not Path(filepath).read_text().startswith(header):
              missing.append(filepath)
      if missing:
          missing_str = "\n - ".join(missing)
          raise AssertionError(
              f"Following files are missing standard header (see other files):\n - {missing_str}"
          )
  
file_path: nevergrad/nevergrad/common/test_testing.py
imports: import sys
  import unittest
  import platform
  import subprocess
  import typing
  from pathlib import Path
  import pytest
  import numpy
  from .None import testing
label_desc: Use image node_id 5 for calling a global function with example usage: test_header() without return types