Skip to content

Fix source-code loading example crash#10

Draft
cursor[bot] wants to merge 1 commit into
mainfrom
cursor/critical-correctness-bugs-4fd5
Draft

Fix source-code loading example crash#10
cursor[bot] wants to merge 1 commit into
mainfrom
cursor/critical-correctness-bugs-4fd5

Conversation

@cursor
Copy link
Copy Markdown

@cursor cursor Bot commented May 20, 2026

Fixes the load_mod_from_source_code.py example so it no longer raises NameError at runtime, and adds a unittest regression test that runs the script as a subprocess and verifies the expected output.

Validation:

  • python3 source/load_mod_from_source_code.py
  • python3 -m unittest discover
  • python3 source/unittest_to_io.py
Open in Web View Automation 

Co-authored-by: 0-coding <0-coding@users.noreply.github.com>
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