code: def test_dont_break_imports_without_namespaces():
      """
      The code checking for ``from __future__ import absolute_import`` shouldn't
      assume that all imports have non-``None`` namespaces.
      """
      src = "from __future__ import absolute_import\nimport xyzzy"
      assert parse(src)._has_explicit_absolute_import()
  
imports: from parso import parse
label_desc: Use image node_id 3 for calling a global function with example usage: test_dont_break_imports_without_namespaces() without return types