Returned validator has a useful `__repr__`.
(self)
| 157 | ) == e.value.args |
| 158 | |
| 159 | def test_repr(self): |
| 160 | """ |
| 161 | Returned validator has a useful `__repr__`. |
| 162 | """ |
| 163 | v = instance_of(int) |
| 164 | assert ("<instance_of validator for type <class 'int'>>") == repr(v) |
| 165 | |
| 166 | |
| 167 | class TestMatchesRe: |
nothing calls this directly
no test coverage detected