code: def __test_append(self, sb, data, dtype):
      for i in data:
          sb.append(i)
      self.assertEqual(sb.get_type(), dtype)
      sa = sb.close()
      self.__test_equal(sa, data, dtype)
  
file_path: turicreate/src/python/turicreate/test/test_sarray_builder.py
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  from ..data_structures.sarray_builder import SArrayBuilder
  import unittest
  import array
  import datetime
  from .._cython.cy_flexible_type import GMT
  import pytest
label_desc: Use image node_id 2 for calling the SArrayBuilderTest obj's underlying member method code with example usage: obj.__test_append(sb, data, dtype) without return types