Author: Brian Kearns <bdkea...@gmail.com> Branch: Changeset: r61246:3699a4ce0ec6 Date: 2013-02-15 03:31 -0500 http://bitbucket.org/pypy/pypy/changeset/3699a4ce0ec6/
Log: move test_rstruct.py to rstruct test dir diff --git a/rpython/rlib/test/test_rstruct.py b/rpython/rlib/rstruct/test/test_rstruct.py rename from rpython/rlib/test/test_rstruct.py rename to rpython/rlib/rstruct/test/test_rstruct.py --- a/rpython/rlib/test/test_rstruct.py +++ b/rpython/rlib/rstruct/test/test_rstruct.py @@ -1,4 +1,3 @@ - from rpython.rtyper.test.tool import BaseRtypingTest, LLRtypeMixin, OORtypeMixin from rpython.rlib.rstruct.runpack import runpack from rpython.rlib.rstruct import ieee @@ -17,11 +16,9 @@ def test_unpack_2(self): data = struct.pack('iiii', 0, 1, 2, 4) - def fn(): a, b, c, d = runpack('iiii', data) return a * 1000 + b * 100 + c * 10 + d - assert fn() == 124 assert self.interpret(fn, []) == 124 @@ -69,4 +66,3 @@ check_roundtrip(-123.456) check_roundtrip(INFINITY) check_roundtrip(NAN) - _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit