Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 325ae93

Browse files
encukouphilg314
andauthored
gh-93649: Split unicode tests from _testcapimodule.c & add some more (GH-95819)
- Move PyUnicode tests to a separate file - Add some more tests for PyUnicode_FromFormat Co-authored-by: philg314 <[email protected]>
1 parent 3ff6d9a commit 325ae93

File tree

7 files changed

+663
-322
lines changed

7 files changed

+663
-322
lines changed

Misc/ACKS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -609,6 +609,7 @@ Jan-Philip Gehrcke
609609
Thomas Gellekum
610610
Gabriel Genellina
611611
Christos Georgiou
612+
Philip Georgi
612613
Elazar (אלעזר) Gershuni
613614
Ben Gertzfield
614615
Nadim Ghaznavi

Modules/Setup.stdlib.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@
169169
@MODULE__XXTESTFUZZ_TRUE@_xxtestfuzz _xxtestfuzz/_xxtestfuzz.c _xxtestfuzz/fuzzer.c
170170
@MODULE__TESTBUFFER_TRUE@_testbuffer _testbuffer.c
171171
@MODULE__TESTINTERNALCAPI_TRUE@_testinternalcapi _testinternalcapi.c
172-
@MODULE__TESTCAPI_TRUE@_testcapi _testcapimodule.c _testcapi/vectorcall.c _testcapi/vectorcall_limited.c _testcapi/heaptype.c
172+
@MODULE__TESTCAPI_TRUE@_testcapi _testcapimodule.c _testcapi/vectorcall.c _testcapi/vectorcall_limited.c _testcapi/heaptype.c _testcapi/unicode.c
173173

174174
# Some testing modules MUST be built as shared libraries.
175175
*shared*

Modules/_testcapi/parts.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@
33
int _PyTestCapi_Init_Vectorcall(PyObject *module);
44
int _PyTestCapi_Init_VectorcallLimited(PyObject *module);
55
int _PyTestCapi_Init_Heaptype(PyObject *module);
6+
int _PyTestCapi_Init_Unicode(PyObject *module);

0 commit comments

Comments
 (0)