INADA Naoki
c2a2d417f1
Fix warnings in tests.
2012-09-24 02:20:53 +09:00
INADA Naoki
60df5eadaf
Warn when use_list is not specified.
2012-09-24 02:12:55 +09:00
INADA Naoki
4d643894a1
Support packing subclass of dict.
2012-09-23 02:13:32 +09:00
INADA Naoki
51335bbee4
packb supports use_single_float option.
2012-09-21 14:15:30 +09:00
INADA Naoki
2122b46b84
Fix using deprecated api in tests.
2012-07-04 14:58:36 +09:00
INADA Naoki
636f4529aa
Fix tests to pass.
2012-06-19 14:20:56 +09:00
INADA Naoki
0b38e86534
unify tests for py2 and py3
2012-06-19 13:55:14 +09:00
INADA Naoki
60762747b9
Fix error in tests.
2011-08-22 01:57:23 +09:00
tailhook
8c3c8a250b
Fixed encoding
argument for unpacker in Python
2011-08-22 01:52:45 +09:00
inada-n
ff594d71dd
(python) make test pass with Python 2.5
2011-06-01 18:30:43 +09:00
tailhook
752e3d1b78
Implemented encoding for strings
...
* Packer by default uses `utf-8` encoding by default
* Unpacker uses `None` by default, so no decoding is done
* Both pack and unpack has `encoding` and `unicode_errors` arguments,
if `encoding` is `None` no encoding/decoding is done, otherwise
it is python codec. `unicode_errors` is supplied as `errors`
parameter to codec
2011-04-15 18:39:17 +03:00
Naoki INADA
472f5be977
Fix tests.
2009-12-17 17:58:41 +09:00
Naoki INADA
ca0bda01f1
Add some test cases.
2009-06-29 09:31:43 +09:00