code: def test_scale(args_list, args_dict, expected):
      spec = _scale(*args_list, **args_dict)
      assert spec.as_dict() == expected
  
imports: import pytest
  import lets_plot
  from lets_plot.plot.core import FeatureSpec
  from lets_plot.plot.core import FeatureSpecArray
  from lets_plot.plot.scale import _scale
label_desc: Use image node_id 2 for calling a global function with example usage: test_scale(args_list, args_dict, expected) without return types