code: def test_basic_reading():
      """
      Test that a dataset with no xpos is detected by the Dataset
      """
      # empty args for building the data object
      args = tagger.parse_args(args=[])
  
      train_doc = CoNLL.conll2doc(input_str=TRAIN_DATA)
  
      data = Dataset(train_doc, args, None)
      assert data.has_upos
      assert data.has_xpos
      assert data.has_feats
  
file_path: stanza/stanza/tests/pos/test_data.py
imports: import os
  import pytest
  from stanza.models.common.doc import *
  from stanza.models import tagger
  from stanza.models.pos.data import Dataset, ShuffledDataset
  from stanza.utils.conll import CoNLL
  from stanza.tests.pos.test_tagger import TRAIN_DATA, TRAIN_DATA_NO_XPOS, TRAIN_DATA_NO_UPOS, TRAIN_DATA_NO_FEATS
label_desc: Use image node_id 1 for calling a global function with example usage: test_basic_reading() without return types