Commit b33b0a2
TST: assert that informative error is raised when offset not supported as a period frequency is passed to DataFrame.asfreq (pandas-dev#56758)
* style
* add test
* pytest.raises
* freqstr
* add test for offsets
* rearrange per comment
* fixup
* fixup
---------
Co-authored-by: MarcoGorelli <33491632+MarcoGorelli@users.noreply.github.com>1 parent 3886d2d commit b33b0a2
1 file changed
+26
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
257 | 258 | | |
258 | 259 | | |
259 | 260 | | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
0 commit comments