code: def test_scan_fail_negative_limit(
      mocked_client,
      gutenberg_spacy_ner,
  ):
      with pytest.raises(ValueError, match="limit.*negative"):
          data = active_api().datasets.scan(
              name=gutenberg_spacy_ner,
              limit=-20,
          )
          # Actually load the generator its data
          data = list(data)
  
file_path: argilla/tests/integration/client/test_scan_raw_records.py
imports: import pytest
  from argilla.client.api import load
  from argilla.client.sdk.token_classification.models import TokenClassificationRecord
  from argilla.client.singleton import active_api
label_desc: Use image node_id 4 for calling a global function with example usage: test_scan_fail_negative_limit(mocked_client, gutenberg_spacy_ner) without return types