code: def test_deprecated_sentence_dataset():
      with pytest.warns(
          DeprecationWarning
      ):  # test to make sure the warning comes, but class works
          SentenceDataset([Sentence("Short sentences are short")])
  
imports: import os
  import pytest
  import flair
  from flair.data import Corpus, Dictionary, Label, Sentence
  from flair.datasets import ColumnCorpus, FlairDatapointDataset, SentenceDataset
label_desc: Use image node_id 6 for calling a global function with example usage: test_deprecated_sentence_dataset() without return types