Author: Brian Kearns <[email protected]>
Branch: stdlib-2.7.6
Changeset: r69623:3fbce3747a08
Date: 2014-03-02 19:12 -0500
http://bitbucket.org/pypy/pypy/changeset/3fbce3747a08/
Log: test this value as well
diff --git a/pypy/module/_rawffi/test/test__rawffi.py
b/pypy/module/_rawffi/test/test__rawffi.py
--- a/pypy/module/_rawffi/test/test__rawffi.py
+++ b/pypy/module/_rawffi/test/test__rawffi.py
@@ -541,6 +541,9 @@
y = Y()
y.a = 10
assert y.a == 10
+ val = (1 << (s[1] - 1)) | 1
+ y.a = val
+ assert y.a == val
y.free()
def test_invalid_bitfields(self):
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit