(self)
| 3408 | ) |
| 3409 | |
| 3410 | def test_over_frame_exclude_invalid(self): |
| 3411 | # invalid exclude value raises at compile time |
| 3412 | assert_raises_message( |
| 3413 | exc.CompileError, |
| 3414 | "Unexpected SQL phrase: 'INVALID'", |
| 3415 | select( |
| 3416 | func.row_number().over( |
| 3417 | order_by=table1.c.myid, |
| 3418 | rows=(None, 0), |
| 3419 | exclude="INVALID", |
| 3420 | ) |
| 3421 | ).compile, |
| 3422 | ) |
| 3423 | |
| 3424 | def test_over_frame_exclude_requires_frame_spec(self): |
| 3425 | # exclude without rows/range_/groups raises at construction time |
nothing calls this directly
no test coverage detected