code: def test_label_field_raises_with_non_integer_labels_and_no_indexing(
      self,
  ):
      with pytest.raises(ConfigurationError):
          _ = LabelField("non integer field", skip_indexing=True)
  
file_path: magnitude/pymagnitude/third_party/allennlp/tests/data/fields/label_field_test.py
imports: from __future__ import with_statement
  from __future__ import absolute_import
  from __future__ import print_function
  import pytest
  from allennlp.common.checks import ConfigurationError
  from allennlp.common.testing import AllenNlpTestCase
  from allennlp.data.fields import LabelField
  from allennlp.data import Vocabulary
label_desc: Use image node_id 3 for calling the TestLabelField obj's underlying member method code with example usage: obj.test_label_field_raises_with_non_integer_labels_and_no_indexing() without return types