code: def test_fit_without_validation_set(self):
      dataset = random_text_classification_dataset(10)
      classifier = self._get_clf()
  
      with patch.object(classifier, "_fit_main") as fit_main_mock:
          classifier.fit(dataset)
          fit_main_mock.assert_called()
  
          call_args = fit_main_mock.call_args[0]
          self.assertTrue(isinstance(call_args[0], PytorchDatasetView))
          self.assertTrue(isinstance(call_args[1], PytorchDatasetView))
  
          self.assertEqual(
              len(dataset), len(call_args[0]) + len(call_args[1])
          )
  
imports: import unittest
  import pytest
  import numpy
  from unittest.mock import patch
  from small_text.base import LABEL_UNLABELED
  from small_text.integrations.pytorch.exceptions import PytorchNotFoundError
  from small_text.training.metrics import Metric
  from small_text.training.early_stopping import EarlyStopping, EarlyStoppingOrCondition
label_desc: Use image node_id 5 for calling the KimCNNTest obj's underlying member method code with example usage: obj.test_fit_without_validation_set() without return types