Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-96002: Add functional test for Argument Clinic#96178

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Merged
Changes from1 commit
Commits
Show all changes
35 commits
Select commitHold shift + click to select a range
f00bb03
Support functional test for Argument Clinic
colorfulapplAug 22, 2022
a59e304
📜🤖 Added by blurb_it.
blurb-it[bot]Aug 22, 2022
2bd331e
Revert "Support functional test for Argument Clinic"
colorfulapplAug 23, 2022
fac5b77
Add functional test for Argument Clinic
colorfulapplAug 23, 2022
962434c
Add testcases written in C
colorfulapplAug 23, 2022
b93b2ae
Rename _testclinicfunctionality.c to _testclinic.c
colorfulapplOct 25, 2022
35c5f13
Add _testclinic to stdlib IGNORE list
colorfulapplOct 25, 2022
86703de
Merge TestClinicFunctionalityC class into TestClinicFunctionality
colorfulapplOct 25, 2022
e66d60b
Format code in _testclinic.c
colorfulapplOct 25, 2022
f1fb377
Merge test_clinic_functionality.py into test_clinic.py
colorfulapplOct 26, 2022
449c8fe
Simplify testcases
colorfulapplOct 26, 2022
1553574
Merge branch 'main' into test_clinic_functionality
colorfulapplOct 26, 2022
81fe77b
Add more testcases
colorfulapplOct 28, 2022
7c269d0
Rename class TestClinicFunctionality to ClinicFunctionalTest
colorfulapplNov 1, 2022
a3a3455
Fix UB problem
colorfulapplNov 2, 2022
80ba71a
Fix refleaks
colorfulapplNov 4, 2022
cf77785
Clean code
colorfulapplNov 4, 2022
10ce3c7
Add PoC of GH-99233
colorfulapplNov 8, 2022
2cc6c0a
Add PoC of GH-99240
colorfulapplNov 8, 2022
6a2d334
Delete test cases which fail this test
colorfulapplNov 10, 2022
d82ef72
Merge branch 'main' into test_clinic_functionality
colorfulapplNov 10, 2022
b27b43d
Rerun `make regen-all`
colorfulapplNov 10, 2022
1cae160
Fix leaking
colorfulapplNov 13, 2022
fb6d3be
Fix code style
colorfulapplNov 13, 2022
fd1ed14
Merge branch 'main' into test_clinic_functionality
colorfulapplNov 13, 2022
e82c88a
Rerun `make regen-all`
colorfulapplNov 13, 2022
598568c
Fix object leaking and code style
colorfulapplNov 14, 2022
dd43f24
Change argument release order
colorfulapplNov 14, 2022
325e35b
Rename macro
colorfulapplNov 14, 2022
967dda6
Update news
colorfulapplNov 14, 2022
d568683
Fix object leaking
colorfulapplNov 14, 2022
ce337e8
Remove unnecessary logic
colorfulapplNov 15, 2022
3314465
Merge branch 'main' into test_clinic_functionality
colorfulapplNov 15, 2022
68277c5
Merge branch 'main' into test_clinic_functionality
colorfulapplNov 15, 2022
da0789f
Merge branch 'main' into test_clinic_functionality
colorfulapplNov 17, 2022
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
PrevPrevious commit
NextNext commit
Remove unnecessary logic
  • Loading branch information
@colorfulappl
colorfulappl committedNov 15, 2022
commitce337e89e5955fdf5e1148073287c74cd9c38946
3 changes: 1 addition & 2 deletionsModules/_testclinic.c
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -54,7 +54,7 @@ pack_arguments_newref(int argc, ...)
arg_type in[argc] = {__VA_ARGS__}; \
PyObject *out[argc] = {NULL,}; \
for (int _i = 0; _i < argc; _i++) { \
out[_i] = wrapper((arg_type)in[_i]); \
out[_i] = wrapper(in[_i]); \
assert(out[_i] || PyErr_Occurred()); \
if (!out[_i]) { \
for (int _j = 0; _j < _i; _j++) { \
Expand DownExpand Up@@ -563,7 +563,6 @@ bytes_from_buffer(Py_buffer *buf)
Py_DECREF(bytes_obj);
return NULL;
}
PyBuffer_Release(buf);
return bytes_obj;
}

Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp