diff options
author | IWASE Yusuke <iwase.yusuke0@gmail.com> | 2016-07-06 15:26:34 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-07-11 16:46:30 +0900 |
commit | 8cb23e19a7e4cbad78e2b9ae261e9eec39f685bd (patch) | |
tree | 4215fcc5ca3891bac4f852bc08e915c363fed400 /doc/source/ryu_app_api.rst | |
parent | 3736ab76a5c3a3c14c399718a74e0fb2c50b8406 (diff) |
test_packet: Avoid to use array.array as input binary
In Python 2.7, array.array cannot be converted correctly into binary
type by using six.binary_type().
So packet.Packet() cannot skip data effectively.
This patch remove to use array.array as input binary in test_packet.
Note: array.array can be used as input binary as the same as before,
but in this case, the padding data will be displayed in str or repr
representation in Python 2.7.
Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'doc/source/ryu_app_api.rst')
0 files changed, 0 insertions, 0 deletions