@@ -57,7 +57,7 @@ def test_migration(monkeypatch: pytest.MonkeyPatch, tmp_path: Path) -> None:
57
57
)
58
58
assert statefile .path == tmp_path / STATE_FILE
59
59
assert not statefile .migrating
60
- assert statefile .modified
60
+ assert statefile .modified # type: ignore[unreachable]
61
61
with open (STATE_FILE ) as fp :
62
62
data = json .load (fp )
63
63
assert data == {
@@ -85,7 +85,7 @@ def test_defaulting(monkeypatch: pytest.MonkeyPatch, tmp_path: Path) -> None:
85
85
assert os .listdir () == [STATE_FILE ]
86
86
assert statefile .state == State (github = newdt , travis = None , appveyor = None )
87
87
assert statefile .modified
88
- with open (STATE_FILE ) as fp :
88
+ with open (STATE_FILE ) as fp : # type: ignore[unreachable]
89
89
data = json .load (fp )
90
90
assert data == {
91
91
"github" : "2021-06-11T14:55:01+00:00" ,
@@ -124,7 +124,7 @@ def test_empty(contents: str, monkeypatch: pytest.MonkeyPatch, tmp_path: Path) -
124
124
assert os .listdir () == [STATE_FILE ]
125
125
assert statefile .state == State (github = newdt , travis = None , appveyor = None )
126
126
assert statefile .modified
127
- with f .open () as fp :
127
+ with f .open () as fp : # type: ignore[unreachable]
128
128
data = json .load (fp )
129
129
assert data == {
130
130
"github" : "2021-06-11T14:55:01+00:00" ,
@@ -161,7 +161,7 @@ def test_populated_explicit_path(tmp_path: Path) -> None:
161
161
assert statefile .path == f
162
162
assert not statefile .migrating
163
163
assert statefile .modified
164
- with f .open () as fp :
164
+ with f .open () as fp : # type: ignore[unreachable]
165
165
data = json .load (fp )
166
166
assert data == {
167
167
"github" : "2021-06-11T15:11:50+00:00" ,
0 commit comments