This partially reverts 227b8fd984fc2fa5a37b4d8ae5d64dbd8166cc18. These tests are testing __str__ method and shouldn't have been changed.
Signed-off-by: IWAMOTO Toshihiro <[email protected]> --- ryu/tests/unit/ofproto/test_parser_v13.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ryu/tests/unit/ofproto/test_parser_v13.py b/ryu/tests/unit/ofproto/test_parser_v13.py index dd00866..265b28e 100644 --- a/ryu/tests/unit/ofproto/test_parser_v13.py +++ b/ryu/tests/unit/ofproto/test_parser_v13.py @@ -94,7 +94,7 @@ class TestOFPMatch(unittest.TestCase): match2 = match.from_jsondict(jsondict["OFPMatch"]) buf2 = bytearray() match2.serialize(buf2, 0) - eq_(six.binary_type(match), six.binary_type(match2)) + eq_(str(match), str(match2)) eq_(buf, buf2) # set_vlan_vid @@ -139,7 +139,7 @@ class TestOFPMatch(unittest.TestCase): match2 = match.from_jsondict(jsondict["OFPMatch"]) buf2 = bytearray() match2.serialize(buf2, 0) - eq_(six.binary_type(match), six.binary_type(match2)) + eq_(str(match), str(match2)) eq_(buf, buf2) def test_set_vlan_vid_mid(self): -- 2.1.4 ------------------------------------------------------------------------------ Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
