commit | 5b2745c4673319736269ea6b76f3872e7629b5ba | [log] [tgz] |
---|---|---|
author | Rich Lane <rlane@bigswitch.com> | Sat Nov 30 00:36:24 2013 -0800 |
committer | Rich Lane <rlane@bigswitch.com> | Sat Nov 30 00:38:04 2013 -0800 |
tree | fc4d4ad68f4e3068162e5d160ea7602cbd899a38 | |
parent | 3b9b28ef61a64dc3b24ccb1d4431971b6ebfaec4 [diff] [blame] |
pyloxi: remove automatic conversion from str to OFReader User code shouldn't call these methods directly.
diff --git a/py_gen/tests/of13.py b/py_gen/tests/of13.py index 503a307..54a0629 100644 --- a/py_gen/tests/of13.py +++ b/py_gen/tests/of13.py
@@ -110,7 +110,7 @@ obj = klass() if hasattr(obj, "xid"): obj.xid = 42 buf = obj.pack() - obj2 = klass.unpack(buf) + obj2 = klass.unpack(OFReader(buf)) self.assertEquals(obj, obj2) if klass in expected_failures: self.assertRaises(Exception, fn)