repr signals unset attributes
(self)
| 408 | assert "C(_x=42)" == repr(i) |
| 409 | |
| 410 | def test_repr_uninitialized_member(self): |
| 411 | """ |
| 412 | repr signals unset attributes |
| 413 | """ |
| 414 | C = make_class("C", {"a": attr.ib(init=False)}) |
| 415 | |
| 416 | assert "C(a=NOTHING)" == repr(C()) |
| 417 | |
| 418 | @given(add_str=booleans(), slots=booleans()) |
| 419 | def test_str(self, add_str, slots): |
nothing calls this directly
no test coverage detected