code: def test_utils_produce_require_dict_with_extra():
      global EXTRA
      EXTRA["https://api.baidu.com"] = {
          "https://api.baidu.com/test.min": [
              "https://api.baidu.com/test.min",
              "css",
          ]
      }
      cfg_0 = utils.produce_require_dict(
          utils.OrderedSet("https://api.baidu.com/test.min"),
          "https://example.com",
      )
      assert_equal(
          cfg_0["libraries"], ["'https://api.baidu.com/test.min'"]
      )
  
imports: from nose.tools import assert_equal
  from pyecharts.commons import utils
  from pyecharts.datasets import EXTRA
label_desc: Use image node_id 2 for calling a global function with example usage: test_utils_produce_require_dict_with_extra() without return types