packer: Use PyUnicode_AsUTF8AndSize() for utf-8 (#272)

This commit is contained in:
INADA Naoki 2018-01-11 19:41:05 +09:00 committed by GitHub
parent 5534d0c7af
commit 60ef3879d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 71 additions and 14 deletions

View file

@ -9,6 +9,6 @@ for V in cp36-cp36m cp35-cp35m cp27-cp27m cp27-cp27mu; do
pushd test # prevent importing msgpack package in current directory.
$PYBIN/python -c 'import sys; print(hex(sys.maxsize))'
$PYBIN/python -c 'from msgpack import _packer, _unpacker'
$PYBIN/py.test -v
$PYBIN/pytest -v .
popd
done