code: def test_locals(self):
      vars = {"x": "a"}
      local_vars = {"x": "b"}
      self.assertEqual("a", ninja_syntax.expand("$x", vars))
      self.assertEqual("b", ninja_syntax.expand("$x", vars, local_vars))
  
imports: import unittest
  import ninja_syntax
label_desc: Use image node_id 5 for calling the TestExpand obj's underlying member method code with example usage: obj.test_locals() without return types