code: def test_bad_init():
      """Constructor argument names must match attribute names."""
  
      @attrs
      class BadInit(object):
          def __init__(self, x):
              self._x = x
  
      with pytest.raises(AttributeError):
          BadInit(1)
  
imports: import attr
  import pytest
  from eli5.base_utils import attrs
label_desc: Use image node_id 4 for calling a global function with example usage: test_bad_init() without return types