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 <>
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:11serhiy.storchakasetrecipients: + serhiy.storchaka
2021-08-23 14:46:11serhiy.storchakasetmessageid: <>
2021-08-23 14:46:11serhiy.storchakalinkissue44984 messages
2021-08-23 14:46:11serhiy.storchakacreate