Skip to content

[3.13] gh-152132: Test Py_CompileString() in test_capi.test_run (#153470) (#153473)#153533

Merged
vstinner merged 1 commit into
python:3.13from
vstinner:test_run13
Jul 10, 2026
Merged

[3.13] gh-152132: Test Py_CompileString() in test_capi.test_run (#153470) (#153473)#153533
vstinner merged 1 commit into
python:3.13from
vstinner:test_run13

Conversation

@vstinner

Copy link
Copy Markdown
Member

gh-152132: Test Py_CompileString() in test_capi.test_run (#153470)

PyRun functions now raises ValueError if the start argument is invalid.

Add Modules/_testlimitedcapi/run.c.

(cherry picked from commit d83d267) (cherry picked from commit 6374772)

…python#153470) (python#153473)

pythongh-152132: Test Py_CompileString() in test_capi.test_run (python#153470)

PyRun functions now raises ValueError if the start argument is
invalid.

Add Modules/_testlimitedcapi/run.c.

(cherry picked from commit d83d267)
(cherry picked from commit 6374772)
@vstinner

Copy link
Copy Markdown
Member Author

macOS / build and test (macos-26-intel): test_ttk failed with:

FAIL: test_traversal (test.test_ttk.test_widgets.NotebookTest.test_traversal)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/runner/work/cpython/cpython/Lib/test/test_ttk/test_widgets.py", line 1232, in test_traversal
    self.assertEqual(self.nb.select(), str(self.child1))
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: '.!label2' != '.!label'
- .!label2
?        -
+ .!label

@vstinner vstinner merged commit 5baaa5b into python:3.13 Jul 10, 2026
71 of 73 checks passed
@vstinner vstinner deleted the test_run13 branch July 10, 2026 22:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant