Returned validator has a useful `__repr__`.
(self)
| 1131 | ) == e.value.args |
| 1132 | |
| 1133 | def test_repr(self): |
| 1134 | """ |
| 1135 | Returned validator has a useful `__repr__`. |
| 1136 | """ |
| 1137 | v = _subclass_of(int) |
| 1138 | assert ("<subclass_of validator for type <class 'int'>>") == repr(v) |
| 1139 | |
| 1140 | |
| 1141 | class TestNot_: |
nothing calls this directly
no test coverage detected