code: def assertHasSymbols(
      self, codestring, expected_symbols, ctxts=(ast.Load, ast.Store)
  ):
      root = ast.parse(codestring)
  
      symbols = get_symbols(root, ctxts)
  
      self.assertEqual(symbols, expected_symbols)
  
file_path: turicreate/src/python/turicreate/meta/asttools/tests/test_symbol_visitor.py
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  import unittest
  import ast
  from ...asttools.visitors.symbol_visitor import get_symbols
label_desc: Use image node_id 1 for calling the Test obj's underlying member method code with example usage: obj.assertHasSymbols(codestring, expected_symbols, ctxts) without return types