code: def test_divide_by_zero(zero, negative):
      # https://github.com/pandas-dev/pandas/issues/27398, GH#22793
      a = pd.array([0, 1, -1, None], dtype="Int64")
      result = a / zero
      expected = FloatingArray(
          np.array([np.nan, np.inf, -np.inf, 1], dtype="float64"),
          np.array([False, False, False, True]),
      )
      if negative:
          expected *= -1
      tm.assert_extension_array_equal(result, expected)
  
imports: import operator
  import numpy
  import pytest
  import pandas
  import pandas._testing
  from pandas.core import ops
  from pandas.core.arrays import FloatingArray
label_desc: Use image node_id 4 for calling a global function with example usage: test_divide_by_zero(zero, negative) without return types