code: def test_namespace():
      """Test that all names from the public API are in the main namespace"""
  
      has_names = dir(imageio)
      has_names = set([n for n in has_names if not n.startswith("_")])
  
      need_names = (
          "help formats read save RETURN_BYTES "
          "get_reader imread mimread volread mvolread "
          "get_writer imwrite mimwrite volwrite mvolwrite "
          "read save imsave mimsave volsave mvolsave "  # aliases
      ).split(" ")
      need_names = set([n for n in need_names if n])
  
      # Check that all names are there
      assert need_names.issubset(has_names)
  
file_path: imageio/tests/test_meta.py
imports: from __future__ import print_function
  import os
  import sys
  import subprocess
  from pytest import raises
  import imageio
label_desc: Use image node_id 3 for calling a global function with example usage: test_namespace() without return types