code: def test_attribute_instance():
      class Foo:
          b = 1
  
      assert Foo().b == 2
  
imports: import pytest
  from pytest import raises
label_desc: Use image node_id 6 for calling a global function with example usage: test_attribute_instance() without return types