-
-
Notifications
You must be signed in to change notification settings - Fork 33.4k
Open
Labels
testsTests in the Lib/test dirTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Bug report
Bug description:
There's a certain amount of Cpython-specific tests which isn't marked with a cpython_only decorator.
I'm certain that CPython-specific tests should be excluded from running on any other implementation, which is advantageous for us. This ensures that when developing another Python implementation, you can selectively avoid running these specific CPython tests, which is beneficial during the testing phase. This way, you can focus on relevant tests for your implementation without unnecessary interference from CPython-specific ones.
So, my final goal is to make the whole CPython test suite runnable on other Python implementations.
I would like to send a one PR per test file which needs a fix.
CPython versions tested on:
CPython main branch
Operating systems tested on:
No response
Linked PRs
- gh-115142: Skip
test_optimizerif_testinternalcapimodule is not available. #115175 - gh-115142: Skip
test__xxsubinterpretersif_testinternalcapiis not available #116507 - [3.12] gh-115142: Skip
test__xxsubinterpretersif_testcapiis not available #116543 - gh-115142: Skip
test_capi/test_opt.pyif_testinternalcapiis not available #117574 - gh-115142: Skip
test_capi.test_dict.pyif_testcapiand_testlimitedcapiare not available #117588 - [3.12] gh-115142: Skip
test_capi.test_dict.pyif_testcapian… #117718 - gh-115142: Skip some test cases in
Lib/test/test_compileif_testinternalcapiis not available #124474
serhiy-storchaka and wrongnull
Metadata
Metadata
Assignees
Labels
testsTests in the Lib/test dirTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error