code: def test_formatdate(self):
      timeval = time.mktime((2011, 12, 1, 18, 0, 0, 4, 335, 0))
      string = utils.formatdate(timeval, localtime=False, usegmt=False)
      self.assertEqual(string, "Thu, 01 Dec 2011 15:00:00 -0000")
      string = utils.formatdate(timeval, localtime=False, usegmt=True)
      self.assertEqual(string, "Thu, 01 Dec 2011 15:00:00 GMT")
  
imports: import datetime
  from email import utils
  import test.support
  import time
  import unittest
  import sys
  import os.path
  import zoneinfo
label_desc: Use image node_id 1 for calling the FormatDateTests obj's underlying member method code with example usage: obj.test_formatdate() without return types