code: def test_tqdm_custom_args(self):
      state = {
          torchbearer.EPOCH: 1,
          torchbearer.MAX_EPOCHS: 10,
          torchbearer.TRAIN_STEPS: 100,
          torchbearer.VALIDATION_STEPS: 101,
          torchbearer.METRICS: {"test": 10},
      }
      state[torchbearer.HISTORY] = [
          dict(
              state[torchbearer.METRICS],
              train_steps=None,
              validation_steps=None,
          )
      ]
      tqdm = Tqdm(ascii=True)
      state[torchbearer.STEPS] = state[torchbearer.TRAIN_STEPS]
  
      tqdm.tqdm_module = MagicMock()
      mock_tqdm = tqdm.tqdm_module
  
      tqdm.on_start_training(state)
      mock_tqdm.assert_called_once_with(
          total=100, desc="1/10(t)", ascii=True
      )
  
      tqdm = Tqdm(on_epoch=True, ascii=True)
  
      tqdm.tqdm_module = MagicMock()
      mock_tqdm = tqdm.tqdm_module
  
      tqdm.on_start(state)
      mock_tqdm.assert_called_once_with(initial=1, total=10, ascii=True)
  
file_path: torchbearer/tests/callbacks/test_printer.py
imports: from unittest import TestCase
  from mock import patch, MagicMock
  import torchbearer
  from torchbearer.callbacks import Tqdm, ConsolePrinter
label_desc: Use image node_id 2 for calling the TestTqdm obj's underlying member method code with example usage: obj.test_tqdm_custom_args() without return types