Commits

Philip Jenvey  committed b443b8c

don't assume errno carried over from the previous test

  • Participants
  • Parent commits 7ce5e8d
  • Branches py3k

Comments (0)

Files changed (1)

File pypy/module/_cffi_backend/test/_backend_test_c.py

 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)