code: def test_special_attrs(self):
      # 'expires'
      C = cookies.SimpleCookie('Customer="WILE_E_COYOTE"')
      C["Customer"]["expires"] = 0
      # can't test exact output, it always depends on current date/time
      self.assertTrue(C.output().endswith("GMT"))
  
      # loading 'expires'
      C = cookies.SimpleCookie()
      C.load('Customer="W"; expires=Wed, 01 Jan 2010 00:00:00 GMT')
      self.assertEqual(
          C["Customer"]["expires"], "Wed, 01 Jan 2010 00:00:00 GMT"
      )
      C = cookies.SimpleCookie()
      C.load('Customer="W"; expires=Wed, 01 Jan 98 00:00:00 GMT')
      self.assertEqual(
          C["Customer"]["expires"], "Wed, 01 Jan 98 00:00:00 GMT"
      )
  
      # 'max-age'
      C = cookies.SimpleCookie('Customer="WILE_E_COYOTE"')
      C["Customer"]["max-age"] = 10
      self.assertEqual(
          C.output(), 'Set-Cookie: Customer="WILE_E_COYOTE"; Max-Age=10'
      )
  
imports: import copy
  import unittest
  import doctest
  from http import cookies
  import pickle
label_desc: Use image node_id 4 for calling the CookieTests obj's underlying member method code with example usage: obj.test_special_attrs() without return types