Author: Antonio Cuni <[email protected]>
Branch: py3k
Changeset: r57341:68aec659c8c0
Date: 2012-09-14 11:18 +0200
http://bitbucket.org/pypy/pypy/changeset/68aec659c8c0/
Log: insert a gc_collect
diff --git a/lib-python/3.2/test/test_exceptions.py
b/lib-python/3.2/test/test_exceptions.py
--- a/lib-python/3.2/test/test_exceptions.py
+++ b/lib-python/3.2/test/test_exceptions.py
@@ -199,7 +199,6 @@
self.assertEqual(WindowsError(1001, "message").winerror, 1001)
def testAttributes(self):
- def xtestAttributes(self):
# test that exception attributes are happy
exceptionList = [
@@ -420,7 +419,6 @@
self.assertNotIn('e', locals())
def testExceptionCleanupState(self):
- def xtestExceptionCleanupState(self):
# Make sure exception state is cleaned up as soon as the except
# block is left. See #2507
@@ -636,6 +634,7 @@
next(g)
testfunc(g)
g = obj = None
+ gc_collect()
obj = wr()
self.assertIs(obj, None)
@@ -760,7 +759,6 @@
def test_MemoryError(self):
- def xtest_MemoryError(self):
# PyErr_NoMemory always raises the same exception instance.
# Check that the traceback is not doubled.
import traceback
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit