code: def test_data_fmt(self):
      try:
          StratifiedSplit(
              self.data, fmt="UIR", chrono=True, verbose=True
          )
      except ValueError:
          assert True
  
      try:
          data = Reader().read("./tests/data.txt", fmt="UIR", sep="\t")
          StratifiedSplit(data, chrono=True, verbose=True)
      except ValueError:
          assert True
  
file_path: cornac/tests/cornac/eval_methods/test_stratified_split.py
imports: import unittest
  import itertools
  import random
  from math import isclose
  from cornac.eval_methods import StratifiedSplit
  from cornac.data import Reader
  from cornac.models import MF
  from cornac.metrics import MAE, Recall
label_desc: Use image node_id 3 for calling the TestStratifiedSplit obj's underlying member method code with example usage: obj.test_data_fmt() without return types