mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Revert "Add infra to run CPython tests under Dynamo (#150787)"
This reverts commit 7c96dd8f0c9a7e17f598612405f002441c7f07ae. Reverted https://github.com/pytorch/pytorch/pull/150787 on behalf of https://github.com/huydhn due to Sorry for reverting your change but a failed test is showing up in trunk ([comment](https://github.com/pytorch/pytorch/pull/150787#issuecomment-2852818113))
This commit is contained in:
@ -1593,13 +1593,6 @@ def get_selected_tests(options) -> list[str]:
|
||||
]
|
||||
)
|
||||
|
||||
if sys.version_info[:2] < (3, 13):
|
||||
# Skip tests for older Python versions as they may use syntax or features
|
||||
# not supported in those versions
|
||||
options.exclude.extend(
|
||||
[test for test in selected_tests if test.startswith("dynamo/cpython/3_13/")]
|
||||
)
|
||||
|
||||
selected_tests = exclude_tests(options.exclude, selected_tests)
|
||||
|
||||
if sys.platform == "win32" and not options.ignore_win_blocklist:
|
||||
|
||||
Reference in New Issue
Block a user