Author: Armin Rigo <[email protected]>
Branch: py3.5
Changeset: r88821:1d3d5b34031a
Date: 2016-12-02 15:54 +0100
http://bitbucket.org/pypy/pypy/changeset/1d3d5b34031a/
Log: Remove @cpython_only for tests that pass on PyPy too nowadays
diff --git a/lib-python/3/test/test_scope.py b/lib-python/3/test/test_scope.py
--- a/lib-python/3/test/test_scope.py
+++ b/lib-python/3/test/test_scope.py
@@ -1,7 +1,7 @@
import unittest
import weakref
-from test.support import check_syntax_error, cpython_only
+from test.support import check_syntax_error
from test.support import gc_collect
@@ -500,7 +500,6 @@
self.assertNotIn("x", varnames)
self.assertIn("y", varnames)
- @cpython_only
def testLocalsClass_WithTrace(self):
# Issue23728: after the trace function returns, the locals()
# dictionary is used to update all variables, this used to
@@ -530,7 +529,6 @@
inst = f(3)()
self.assertEqual(inst.a, inst.m())
- @cpython_only
def testInteractionWithTraceFunc(self):
import sys
@@ -730,7 +728,6 @@
self.assertFalse(hasattr(X, "x"))
self.assertEqual(x, 42)
- @cpython_only
def testCellLeak(self):
# Issue 17927.
#
@@ -756,6 +753,7 @@
tester.dig()
ref = weakref.ref(tester)
del tester
+ gc_collect()
self.assertIsNone(ref())
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit