code: def test_eq_attrs(self):
      import attr
  
      @attr.s
      class Foo:
          a = attr.ib()
          b = attr.ib()
  
      left = Foo(1, "b")
      right = Foo(1, "c")
      assert left == right
  
imports: import pytest
  from pytest import raises
label_desc: Use image node_id 17 for calling the TestSpecialisedExplanations obj's underlying member method code with example usage: obj.test_eq_attrs() without return types