Skip to content

gh-138978: Fully qualified name for abc classes exception. - #156683

Open
skv0zsneg wants to merge 4 commits into
python:mainfrom
skv0zsneg:fix-issue-138978
Open

gh-138978: Fully qualified name for abc classes exception.#156683
skv0zsneg wants to merge 4 commits into
python:mainfrom
skv0zsneg:fix-issue-138978

Conversation

@skv0zsneg

@skv0zsneg skv0zsneg commented Aug 30, 2026

Copy link
Copy Markdown
Contributor

Comment thread Lib/test/test_embed.py

def check_program_exitcode(self, *args, check_stderr=True, **kwargs):
out, err = self.run_embedded_interpreter(*args, **kwargs)
self.assertEqual(out.rstrip(), 'ok! Py_RunMain() returned 123')

@skv0zsneg skv0zsneg Aug 30, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After adding changes to tests and typeobjec.c the strange error appear

AssertionError: 'Cmd click to launch VS Code Native REPL\nok! Py_RunMain() returned 123' != 'ok! Py_RunMain() returned 123'
- Cmd click to launch VS Code Native REPL
  ok! Py_RunMain() returned 123

So, I changed it for checking exactly "ok!..." string.

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