Transforms every `_CountingAttr` and leaves others (a) be.
(self)
| 188 | assert None is getattr(C, "__attrs_attrs__", None) |
| 189 | |
| 190 | def test_normal(self): |
| 191 | """ |
| 192 | Transforms every `_CountingAttr` and leaves others (a) be. |
| 193 | """ |
| 194 | C = make_tc() |
| 195 | attrs, _, _ = _transform_attrs( |
| 196 | C, None, False, ClassProps.KeywordOnly.NO, True, None |
| 197 | ) |
| 198 | |
| 199 | assert ["z", "y", "x"] == [a.name for a in attrs] |
| 200 | |
| 201 | def test_empty(self): |
| 202 | """ |
nothing calls this directly
no test coverage detected