Skip to content

tests: Add loop and AnnAssign xfail tests - #103

Merged
varun-r-mallya merged 1 commit into
masterfrom
feature/loop-xfail-tests
Sep 23, 2026
Merged

varun-r-mallya merged 1 commit into
masterfrom
feature/loop-xfail-tests

Conversation

@varun-r-mallya

Copy link
Copy Markdown
Member
  • failing_tests/loops/: 8 xfail tests for for/while/break/continue/nested loops and map iteration
  • failing_tests/assign/annotated_assign.py: xfail for x: c_int64 = 0 (ast.AnnAssign is not handled)
  • failing_tests/globals.py: now declared xfail, since the global statement it relied on being skipped now raises

- process_stmt now raises NotImplementedError on an unsupported statement
  instead of warning: a dropped statement silently changes what the
  program means (a for/while loop compiled to nothing).
- failing_tests/loops/: 8 xfail tests for for/while/break/continue/nested
  loops and map iteration
- failing_tests/assign/annotated_assign.py: xfail for `x: c_int64 = 0`
  (ast.AnnAssign is not handled)
@varun-r-mallya
varun-r-mallya force-pushed the feature/loop-xfail-tests branch from 3805c5f to 3effae9 Compare September 23, 2026 12:29
@varun-r-mallya
varun-r-mallya merged commit 8290fec into master Sep 23, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant