[pypy-svn] pypy default: These tests now (seem to) pass.

arigo commits-noreply at bitbucket.org
Wed Feb 16 17:28:32 CET 2011


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r42047:b6ee4b86e547
Date: 2011-02-16 17:13 +0100
http://bitbucket.org/pypy/pypy/changeset/b6ee4b86e547/

Log:	These tests now (seem to) pass.

diff --git a/lib-python/modified-2.7.0/ctypes/test/test_refcounts.py b/lib-python/modified-2.7.0/ctypes/test/test_refcounts.py
--- a/lib-python/modified-2.7.0/ctypes/test/test_refcounts.py
+++ b/lib-python/modified-2.7.0/ctypes/test/test_refcounts.py
@@ -1,7 +1,6 @@
 import unittest
 import ctypes
 import gc
-from ctypes.test import xfail
 
 MyCallback = ctypes.CFUNCTYPE(ctypes.c_int, ctypes.c_int)
 OtherCallback = ctypes.CFUNCTYPE(ctypes.c_int, ctypes.c_int, ctypes.c_ulonglong)
@@ -83,7 +82,6 @@
         self.assertEqual(grc(func), 2)
 
 class AnotherLeak(unittest.TestCase):
-    @xfail
     def test_callback(self):
         import sys
 

diff --git a/lib-python/modified-2.7.0/ctypes/test/test_bitfields.py b/lib-python/modified-2.7.0/ctypes/test/test_bitfields.py
--- a/lib-python/modified-2.7.0/ctypes/test/test_bitfields.py
+++ b/lib-python/modified-2.7.0/ctypes/test/test_bitfields.py
@@ -143,7 +143,6 @@
         result = self.fail_fields(("a", Dummy, 1))
         self.assertEqual(result, (TypeError, 'bit fields not allowed for type Dummy'))
 
-    @xfail
     def test_single_bitfield_size(self):
         for c_typ in int_types:
             result = self.fail_fields(("a", c_typ, -1))


More information about the Pypy-commit mailing list