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