code: def test_attrs_without_default():
      @attrs
      class WithoutDefault(object):
          def __init__(self, x):
              self.x = x
  
      (x_attr,) = attr.fields(WithoutDefault)
      assert x_attr.name == "x"
      assert x_attr.default is attr.NOTHING
  
      assert WithoutDefault(1) == WithoutDefault(1)
      assert WithoutDefault(1) != WithoutDefault(2)
  
imports: import attr
  import pytest
  from eli5.base_utils import attrs
label_desc: Use image node_id 2 for calling a global function with example usage: test_attrs_without_default() without return types