diff --git a/ryu/tests/unit/ofproto/test_parser_v13.py b/ryu/tests/unit/ofproto/test_parser_v13.py index dd00866f..265b28e4 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):