Author: Philip Jenvey <[email protected]>
Branch: py3k
Changeset: r63742:b443b8cf6741
Date: 2013-04-28 16:17 -0700
http://bitbucket.org/pypy/pypy/changeset/b443b8cf6741/
Log: don't assume errno carried over from the previous test
diff --git a/pypy/module/_cffi_backend/test/_backend_test_c.py
b/pypy/module/_cffi_backend/test/_backend_test_c.py
--- a/pypy/module/_cffi_backend/test/_backend_test_c.py
+++ b/pypy/module/_cffi_backend/test/_backend_test_c.py
@@ -2136,6 +2136,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