python / python/cpython

test_cppext does not import/run the C++ extension

Open
#94,751 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

tests
Dominant language
Python
Stars
77.2k
Forks
36k
PR merge metrics
PR metrics pending

Description

The test_cppext test case only checks that the C++ extension builds. It does not import and run test cases, so it can't catch runtime issues like #94731.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the test_cppext test case and read how it currently verifies that the C++ extension builds. Extend the test so it imports and runs the extension's test cases, then confirm it can catch runtime issues such as #94731.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, python
Domain
build-system, testing-qa
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.