Commit bc5e187
committed
chore: replace legacy type comment in test_exceptions
mypy 2.0 (pulled in by the pre-commit autoupdate) rejects the
old `browser = None # type: Zeroconf` form because None is not
assignable to Zeroconf. Switch to a class-level annotation
without an initializer; setUpClass assigns the real value before
any test runs.1 parent f2b1609 commit bc5e187
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
0 commit comments