Commit 39ed0f0
test(gfql/cudf): CPU unit coverage for _cudf_regex_prep (pure pattern transform)
_cudf_regex_prep is a pure string transform (no cuDF required), but its only
tests were cuDF-gated, so CPU CI left the new lines uncovered and #1675's
changed-line-coverage gate fell to 65.9%. Add direct unit tests for every
branch: non-str/no-flag passthrough, leading (?i)/(?ii) -> case-fold, other
inline flags -> honest NotImplementedError. Remaining uncovered lines are the
is_cudf execution branches (GPU-only; covered by the dgx parity pass).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 4f691fa commit 39ed0f0
1 file changed
Lines changed: 29 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
856 | 856 | | |
857 | 857 | | |
858 | 858 | | |
| 859 | + | |
| 860 | + | |
| 861 | + | |
| 862 | + | |
| 863 | + | |
| 864 | + | |
| 865 | + | |
| 866 | + | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
| 872 | + | |
| 873 | + | |
| 874 | + | |
| 875 | + | |
| 876 | + | |
| 877 | + | |
| 878 | + | |
| 879 | + | |
| 880 | + | |
| 881 | + | |
| 882 | + | |
| 883 | + | |
| 884 | + | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
0 commit comments