docstr: Assert that node has ctx=ctx at top and ctx=gast.Load everywhere else.
docstr_tok: ["Assert","that","node","has","ctx=ctx","at","top","and","ctx=gast.Load","everywhere","else","."]
code: def assertExpectedCtxSet(self, node, ctx):
      """Assert that node has ctx=ctx at top and ctx=gast.Load everywhere else."""
      checker = _CtxChecker(self, ctx)
      checker.visit(node)
  
imports: import imp
  import unittest
  import gast
  from nvidia.dali._autograph.pyct import gast_util
  from nvidia.dali._autograph.pyct import loader
  from nvidia.dali._autograph.pyct import parser
  from nvidia.dali._autograph.pyct import qual_names
  from nvidia.dali._autograph.pyct import templates
label_desc: Use image node_id 1 for calling the TemplatesTest obj's underlying member method code with example usage: obj.assertExpectedCtxSet(node, ctx) without return types