code: def test_other_bar_length(self):
      steps = 109
      bar_length = 20
      progress_bar = ProgressBar(
          steps=steps,
          bar_length=bar_length,
          bar_character="#",
          partial_bar_characters=[" "],
      )
  
      self.assertEqual(progress_bar.progress_bar_formatting(), " " * 20)
  
      # block_size is equal to 109 / 20
      progress_bar.update(6)  # after 6 steps -> floor(6 / block_size)
      self.assertEqual(
          progress_bar.progress_bar_formatting(), "#" + " " * 19
      )
  
      progress_bar.update(5)  # after 11
      self.assertEqual(
          progress_bar.progress_bar_formatting(), "#" * 2 + " " * 18
      )
  
      progress_bar.update(93)  # after 104
      self.assertEqual(
          progress_bar.progress_bar_formatting(), "#" * 19 + " " * 1
      )
  
      progress_bar.update(4)  # after 108
      self.assertEqual(
          progress_bar.progress_bar_formatting(), "#" * 19 + " " * 1
      )
  
      progress_bar.update(1)  # after 109
      self.assertEqual(
          progress_bar.progress_bar_formatting(), "#" * 20 + " " * 0
      )
  
file_path: poutyne/tests/framework/callbacks/test_progress_bar.py
imports: from unittest import TestCase
  from poutyne import ProgressBar
label_desc: Use image node_id 5 for calling the ProgressBarTest obj's underlying member method code with example usage: obj.test_other_bar_length() without return types