]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-44984: Rewrite test_null_strings in _testcapi (GH-27904)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 23 Aug 2021 19:30:21 +0000 (12:30 -0700)
committerGitHub <noreply@github.com>
Mon, 23 Aug 2021 19:30:21 +0000 (12:30 -0700)
commit6ff7fefc914541ec5afdd3c8193da80818cb0817
tree10ab36305dc28ed2e2035ef2c924af6f6705de01
parentc6c120ddfa2eaa55db4fc1311b5107f6a7c99d88
bpo-44984: Rewrite test_null_strings in _testcapi (GH-27904)

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