]> granicus.if.org Git - python/commit
test_unicode: use ctypes to test PyUnicode_FromFormat()
authorVictor Stinner <victor.stinner@haypocalc.com>
Wed, 5 Jan 2011 00:19:28 +0000 (00:19 +0000)
committerVictor Stinner <victor.stinner@haypocalc.com>
Wed, 5 Jan 2011 00:19:28 +0000 (00:19 +0000)
commitca1e7ec3444c372335c96f83d1550b16b0783557
tree5cab60903900be4f45de13d8faaf6dd17ee83147
parent1ec121d0d19b0ab55cead5974d126fb9b0f95938
test_unicode: use ctypes to test PyUnicode_FromFormat()

Instead of _testcapi.format_unicode() because it has a limited API: it requires
exactly one argument of type unicode.
Lib/test/test_unicode.py
Modules/_testcapimodule.c