code: def test_non_module_node(self, transformer):
      node = ast.parse("x = 1")
  
      transformed_node = transformer.visit(node)
  
      assign_node = transformed_node.body[0]
      assert transformed_node == assign_node.parent
      assert assign_node.parent_field == "body"
      assert assign_node.parent_field_index == 0
      assert transformed_node.children == [assign_node]
      assert len(assign_node.children) == 2
  
file_path: astmonkey/astmonkey/tests/test_transformers.py
imports: import pytest
  import ast
  from astmonkey import transformers
label_desc: Use image node_id 3 for calling the TestParentChildNodeTransformer obj's underlying member method code with example usage: obj.test_non_module_node(transformer) without return types