code: def test_future_import_first():
      def is_issue(code, *args, **kwargs):
          code = code % args
          return bool(_get_error_list(code, **kwargs))
  
      i1 = "from __future__ import division"
      i2 = "from __future__ import absolute_import"
      i3 = "from __future__ import annotations"
      assert not is_issue(i1)
      assert not is_issue(i1 + ";" + i2)
      assert not is_issue(i1 + "\n" + i2)
      assert not is_issue('"";' + i1)
      assert not is_issue('"";' + i1)
      assert not is_issue('""\n' + i1)
      assert not is_issue('""\n%s\n%s', i1, i2)
      assert not is_issue('""\n%s;%s', i1, i2)
      assert not is_issue('"";%s;%s ', i1, i2)
      assert not is_issue('"";%s\n%s ', i1, i2)
      assert not is_issue(i3, version="3.7")
      assert is_issue(i3, version="3.6")
      assert is_issue("1;" + i1)
      assert is_issue("1\n" + i1)
      assert is_issue('"";1\n' + i1)
      assert is_issue('""\n%s\nfrom x import a\n%s', i1, i2)
      assert is_issue('%s\n""\n%s', i1, i2)
  
imports: import sys
  import warnings
  import pytest
  import parso
  from textwrap import dedent
  from parso._compatibility import is_pypy
  from .failing_examples import FAILING_EXAMPLES, indent, build_nested
label_desc: Use image node_id 10 for calling a global function with example usage: test_future_import_first() and returns: bool