code: def test_days_to_secs(self) -> None:
      self.assertIsNone(days_to_secs(None))
      self.assertEqual(days_to_secs(1), 60 * 60 * 24)
      with self.assertRaises(ValueError):
          days_to_secs(-1)
  
file_path: tnt/tests/utils/test_misc.py
imports: import unittest
  from copy import deepcopy
  import torch
  from torchtnt.utils.misc import days_to_secs, transfer_batch_norm_stats, transfer_weights
label_desc: Use image node_id 1 for calling the MiscTest obj's underlying member method code with example usage: obj.test_days_to_secs() without return types