Commit 83ba4e4
ci+test: fix notspark failures from internal merge
The first OSS CI run on this PR uncovered 4 real test failures:
test/automl/test_ts_coverage.py::test_prettify_no_test_ndarray_raises
test/automl/test_ts_coverage.py::test_prettify_no_test_series_raises
OSS PR #1536 ("Generate timestamps for time series predictions
without test data") changed prettify_prediction to auto-generate
timestamps via create_forward_frame instead of raising
ValueError / NotImplementedError when test_data is None.
Update the two internal tests to assert the new graceful behaviour
(a DataFrame with the time column populated) instead of expecting
an exception that no longer fires.
test/nlp/test_hf_utils_coverage.py::test_summarization_with_y_true
test/nlp/test_hf_utils_coverage.py::test_summarization_without_y_true
Both fail with 'Resource punkt_tab not found' because nltk data
is not pre-downloaded on the public GitHub Actions runners.
The internal Azure DevOps pipeline (.pipelines/build.yml) explicitly
ignores test/nlp for the same reason -- mirror that behaviour by
adding --ignore=test/nlp to both notspark and spark CI invocations.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent b349e17 commit 83ba4e4
2 files changed
Lines changed: 16 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| 130 | + | |
130 | 131 | | |
131 | 132 | | |
132 | 133 | | |
| |||
136 | 137 | | |
137 | 138 | | |
138 | 139 | | |
| 140 | + | |
139 | 141 | | |
140 | 142 | | |
141 | 143 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
185 | | - | |
| 185 | + | |
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
190 | | - | |
191 | | - | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
192 | 196 | | |
193 | | - | |
| 197 | + | |
194 | 198 | | |
195 | 199 | | |
196 | 200 | | |
197 | 201 | | |
198 | | - | |
199 | | - | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
200 | 208 | | |
201 | 209 | | |
202 | 210 | | |
| |||
0 commit comments