This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients serhiy.storchaka
Date 2021-08-23.14:46:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1629729971.91.0.181277754556.issue44984@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2021-08-23 14:46:11serhiy.storchakasetrecipients: + serhiy.storchaka
2021-08-23 14:46:11serhiy.storchakasetmessageid: <1629729971.91.0.181277754556.issue44984@roundup.psfhosted.org>
2021-08-23 14:46:11serhiy.storchakalinkissue44984 messages
2021-08-23 14:46:11serhiy.storchakacreate