10000 Make python_agnostic cpp extension tests standalone by jbschlosser · Pull Request #153274 · pytorch/pytorch · GitHub
[go: up one dir, main page]

Skip to content

Make python_agnostic cpp extension tests standalone #153274

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 6 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update on "Make python_agnostic cpp extension tests standalone"
Related: #148920

This PR:
* Introduces a new file `test/cpp_extensions/python_agnostic_extension/test/test_python_agnostic.py` with testing that follows the usual python testing patterns
    * This replaces the testing for python_agnostic in `test/test_cpp_extensions_aot.py`

After this PR, it is now possible to run:
```
python test/cpp_extensions/python_agnostic_extension/test/test_python_agnostic.py
```

and the test will build the prerequisite wheel before running the tests.

[ghstack-poisoned]
  • Loading branch information
jbschlosser committed May 19, 2025
commit 570bc1c659ac79faeb01feb8ff300b5dfbd5d211

This merge commit was added into this branch cleanly.

There are no new changes to show, but you can still view the diff.

0