Commit d35fa3a
Add tests for VideoEncoder fileName-related error checks in torchcodec
Summary:
Added tests for
- When an invalid file extension is passed in as fileName
- When a non-existent path is passed in as fileName
Differential Revision: D830870841 parent 6f906f4 commit d35fa3a
2 files changed
+18
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
574 | 574 | | |
575 | 575 | | |
576 | 576 | | |
577 | | - | |
578 | | - | |
579 | 577 | | |
580 | 578 | | |
581 | 579 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1268 | 1268 | | |
1269 | 1269 | | |
1270 | 1270 | | |
| 1271 | + | |
| 1272 | + | |
| 1273 | + | |
| 1274 | + | |
| 1275 | + | |
| 1276 | + | |
| 1277 | + | |
| 1278 | + | |
| 1279 | + | |
| 1280 | + | |
| 1281 | + | |
| 1282 | + | |
| 1283 | + | |
| 1284 | + | |
| 1285 | + | |
| 1286 | + | |
| 1287 | + | |
| 1288 | + | |
1271 | 1289 | | |
1272 | 1290 | | |
1273 | 1291 | | |
| |||
0 commit comments