code: def test_base_and_derived_nested_scope():
      assert issubclass(m.DerivedWithNested, m.BaseWithNested)
      assert m.BaseWithNested.Nested != m.DerivedWithNested.Nested
      assert (
          m.BaseWithNested.Nested.get_name() == "BaseWithNested::Nested"
      )
      assert (
          m.DerivedWithNested.Nested.get_name()
          == "DerivedWithNested::Nested"
      )
  
imports: import pytest
  import env
  from pybind11_tests import ConstructorStats, UserType
  from pybind11_tests import class_
label_desc: Use image node_id 30 for calling a global function with example usage: test_base_and_derived_nested_scope() without return types