Nothing happens if None.
(self)
| 146 | assert c("42") == 42 |
| 147 | |
| 148 | def test_success_with_none(self): |
| 149 | """ |
| 150 | Nothing happens if None. |
| 151 | """ |
| 152 | c = optional(int) |
| 153 | |
| 154 | assert c(None) is None |
| 155 | |
| 156 | def test_fail(self): |
| 157 | """ |
nothing calls this directly
no test coverage detected