code: def test_get_train_valid_sets_no_valid(self):
      x = range(1, 101)
      y = range(1, 101)
  
      x = torch.Tensor(x)
      y = torch.Tensor(y)
  
      valid_split = None
      shuffle = False
  
      trainset, valset = get_train_valid_sets(
          x, y, None, valid_split, shuffle
      )
      self.assertTrue(valset is None)
      self.assertTrue(len(trainset) == len(x))
  
file_path: torchbearer/tests/test_cv_utils.py
imports: import unittest
  from mock import Mock
  import torchbearer
  from torchbearer.cv_utils import *
label_desc: Use image node_id 11 for calling the TestCVUtils obj's underlying member method code with example usage: obj.test_get_train_valid_sets_no_valid() without return types