Author: Philip Jenvey <[email protected]>
Branch:
Changeset: r1246:46fc16921624
Date: 2013-04-28 16:14 -0700
http://bitbucket.org/cffi/cffi/changeset/46fc16921624/
Log: don't assume errno carried over from the previous test
diff --git a/c/test_c.py b/c/test_c.py
--- a/c/test_c.py
+++ b/c/test_c.py
@@ -2147,6 +2147,7 @@
def test_errno_callback():
if globals().get('PY_DOT_PY') == '2.5':
py.test.skip("cannot run this test on py.py with Python 2.5")
+ set_errno(95)
def cb():
e = get_errno()
set_errno(e - 6)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit