The argument names in `__init__` are without leading and trailing underscores.
(self)
| 925 | i.b = "foo" |
| 926 | |
| 927 | def test_underscores(self): |
| 928 | """ |
| 929 | The argument names in `__init__` are without leading and trailing |
| 930 | underscores. |
| 931 | """ |
| 932 | |
| 933 | class C: |
| 934 | __attrs_attrs__ = [simple_attr("_private")] |
| 935 | |
| 936 | C = _add_init(C, False) |
| 937 | i = C(private=42) |
| 938 | assert 42 == i._private |
| 939 | |
| 940 | |
| 941 | class TestNothing: |