code: def test_extended_encode(self):
      # Issue 9824: some browsers don't follow the standard; we now
      # encode , and ; to keep them from tripping up.
      C = cookies.SimpleCookie()
      C["val"] = "some,funky;stuff"
      self.assertEqual(
          C.output(["val"]),
          'Set-Cookie: val="some\\054funky\\073stuff"',
      )
  
imports: import copy
  import unittest
  import doctest
  from http import cookies
  import pickle
label_desc: Use image node_id 3 for calling the CookieTests obj's underlying member method code with example usage: obj.test_extended_encode() without return types