docstr: Test that the _chunks method of PineconeHook behaves as expected.
docstr_tok: ["Test","that","the","_chunks","method","of","PineconeHook","behaves","as","expected","."]
code: def test__chunks(self):
      """
      Test that the _chunks method of PineconeHook behaves as expected.
      """
      data = list(range(10))
      chunked_data = list(self.pinecone_hook._chunks(data, 3))
      assert chunked_data == [(0, 1, 2), (3, 4, 5), (6, 7, 8), (9,)]
  
file_path: airflow/tests/providers/pinecone/hooks/test_pinecone.py
imports: from __future__ import annotations
  from unittest.mock import Mock, patch
  from airflow.providers.pinecone.hooks.pinecone import PineconeHook
label_desc: Use image node_id 12 for calling the TestPineconeHook obj's underlying member method code with example usage: obj.test__chunks() without return types