Subclasses are accepted too.
(self)
| 134 | v(None, simple_attr("test"), 42) |
| 135 | |
| 136 | def test_subclass(self): |
| 137 | """ |
| 138 | Subclasses are accepted too. |
| 139 | """ |
| 140 | v = instance_of(int) |
| 141 | # yep, bools are a subclass of int :( |
| 142 | v(None, simple_attr("test"), True) |
| 143 | |
| 144 | def test_fail(self): |
| 145 | """ |
nothing calls this directly
no test coverage detected