Message400139
test_null_strings in Modules/_testcapimodule.c was initially added in 7580146b5c7025976f0907a9893e01dc3d3d3457 for testing PyObject_Str(NULL) and PyObject_Unicode(NULL). PyObject_Unicode() was removed in 3.0, so now the test calls PyObject_Str(NULL) twice that does not make sense. On other hand, PyObject_Bytes(NULL) and PyObject_Repr(NULL) are not tested. Additionally, there are now problems with unittest tests returning non-None.
So this test should be completely rewritten. |
|
Date |
User |
Action |
Args |
2021-08-23 14:46:11 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka |
2021-08-23 14:46:11 | serhiy.storchaka | set | messageid: <1629729971.91.0.181277754556.issue44984@roundup.psfhosted.org> |
2021-08-23 14:46:11 | serhiy.storchaka | link | issue44984 messages |
2021-08-23 14:46:11 | serhiy.storchaka | create | |
|