No attributes works as expected.
(self)
| 199 | assert ["z", "y", "x"] == [a.name for a in attrs] |
| 200 | |
| 201 | def test_empty(self): |
| 202 | """ |
| 203 | No attributes works as expected. |
| 204 | """ |
| 205 | |
| 206 | @attr.s |
| 207 | class C: |
| 208 | pass |
| 209 | |
| 210 | assert _Attributes((), [], {}) == _transform_attrs( |
| 211 | C, None, False, ClassProps.KeywordOnly.NO, True, None |
| 212 | ) |
| 213 | |
| 214 | def test_transforms_to_attribute(self): |
| 215 | """ |
nothing calls this directly
no test coverage detected