]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.9] bpo-44984: Rewrite test_null_strings in _testcapi (GH-27904) (GH-27910)
authorŁukasz Langa <lukasz@langa.pl>
Mon, 23 Aug 2021 18:48:04 +0000 (20:48 +0200)
committerGitHub <noreply@github.com>
Mon, 23 Aug 2021 18:48:04 +0000 (20:48 +0200)
commitb0df288c946143352237f28c78481d935ba1502c
tree2cb4528bfafd1ff5736f60a4d7739df63760feff
parent7543e7fc261f1a79b685ff73b7a49615258b8f02
[3.9] bpo-44984: Rewrite test_null_strings in _testcapi (GH-27904) (GH-27910)

Test also PyObject_Repr(NULL) and PyObject_Bytes(NULL)..
(cherry picked from commit 4d689173861257c69adc6dc1dca4171946ddb57f)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/test/test_capi.py
Modules/_testcapimodule.c