Author: Armin Rigo <[email protected]>
Branch:
Changeset: r67932:b217875cc083
Date: 2013-11-10 16:12 +0100
http://bitbucket.org/pypy/pypy/changeset/b217875cc083/
Log: Add unmarshalling tests here too, for longs.
diff --git a/pypy/module/marshal/test/test_marshalimpl.py
b/pypy/module/marshal/test/test_marshalimpl.py
--- a/pypy/module/marshal/test/test_marshalimpl.py
+++ b/pypy/module/marshal/test/test_marshalimpl.py
@@ -77,6 +77,10 @@
m = FakeM()
space.marshal_w(w_obj, m)
assert ''.join(m.seen) == expected
+ #
+ u = interp_marshal.StringUnmarshaller(space, space.wrap(expected))
+ w_long = u.load_w_obj()
+ assert space.eq_w(w_long, w_obj) is True
for sign in [1L, -1L]:
for i in range(100):
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit