diff options
author | Andrej Rode <mail@andrejro.de> | 2018-08-05 23:42:08 +0200 |
---|---|---|
committer | Marcus Müller <marcus@hostalia.de> | 2018-08-17 18:18:20 +0200 |
commit | f0f838e3f0484c6156bf20164af1bfa7ff150587 (patch) | |
tree | 6d42d1c55d7e5428cd143cb800f9310f73a59b9f /gr-trellis/examples/python | |
parent | 2727e413a26024b17e649bc370afc45503173af6 (diff) |
message: fix unit tests to respect mesage::to_string behaviour
Formerly to_string() returned a byte string in Python2 and a
unicode string in Python3.
To get the same behaviour for Python2 and Python3 the Unicode
String in Python3 is converted to bytes. Which is a desired behaviour
for to_string() since the carried payload of messages includes
invalid unicode characters.
Diffstat (limited to 'gr-trellis/examples/python')
0 files changed, 0 insertions, 0 deletions