Commit 9665f64
Fix test typing
Previously there was a test which violated type-hints.
As we can not keep having the test _and_ type hints on that test, the
test itself was rewritten to test a semantically slightly different but
similar edge case.
The original test case is of course prevented when using type-hints (i.e
not passing `None` to a function that doesn't accept `None`)
Signed-off-by: Florian Wagner <[email protected]>1 parent 6ac3334 commit 9665f64
1 file changed
+5
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
| 58 | + | |
58 | 59 | | |
| 60 | + | |
59 | 61 | | |
60 | | - | |
61 | | - | |
| 62 | + | |
62 | 63 | | |
63 | | - | |
| 64 | + | |
64 | 65 | | |
65 | 66 | | |
66 | 67 | | |
| |||
0 commit comments