code: def test_format_duration_with_days(self):
      # 2 days * 24 hours * 60 minutes * 60 seconds
      a_two_days_duration = 2 * 24 * 60 * 60
      color_progress = ColorProgress(coloring=False)
      actual = color_progress._format_duration(a_two_days_duration)
      expected = "2d0h0m0.00s"
  
      self.assertEqual(actual, expected)
  
      # 35 hours (1 day and 12 hours) + 30 minutes + 30 seconds
      a_day_and_12_hours_30_minutes_30_seconds_duration = (
          36 * 60 * 60 + 30 * 60 + 30
      )
      color_progress = ColorProgress(coloring=False)
      actual = color_progress._format_duration(
          a_day_and_12_hours_30_minutes_30_seconds_duration
      )
      expected = "1d12h30m30.00s"
  
      self.assertEqual(actual, expected)
  
file_path: poutyne/tests/framework/callbacks/test_color_formatting.py
imports: from unittest import TestCase
  from unittest.mock import patch
  from poutyne import ColorProgress, EmptyStringAttrClass
label_desc: Use image node_id 2 for calling the ColorProgressTest obj's underlying member method code with example usage: obj.test_format_duration_with_days() without return types