code: def test_endswith(self, a, suffix, start, end, out, dt):
      a = np.array(a, dtype=dt)
      suffix = np.array(suffix, dtype=dt)
      assert_array_equal(
          np.strings.endswith(a, suffix, start, end), out
      )
  
imports: import pytest
  import operator
  import numpy
  from numpy.testing import assert_array_equal, assert_raises
label_desc: Use image node_id 10 for calling the TestMethods obj's underlying member method code with example usage: obj.test_endswith(a, suffix, start, end, out, dt) without return types