aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Rivera <stefano@rivera.za.net>2020-10-09 09:56:42 -0700
committerStefano Rivera <stefano@rivera.za.net>2020-10-09 09:56:42 -0700
commit77c0d76ff17b922999a02aac781b636c4520e084 (patch)
treea498950e2d0fa48222036fdefd366972ba90b897 /lib-python
parentbpo-31271: A TypeError should be raised in case the return value of encoder's... (diff)
downloadpypy-77c0d76ff17b922999a02aac781b636c4520e084.tar.gz
pypy-77c0d76ff17b922999a02aac781b636c4520e084.tar.bz2
pypy-77c0d76ff17b922999a02aac781b636c4520e084.zip
Replace more test_support with support. Bad merge?
Diffstat (limited to 'lib-python')
-rw-r--r--lib-python/2.7/test/test_multiprocessing.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib-python/2.7/test/test_multiprocessing.py b/lib-python/2.7/test/test_multiprocessing.py
index 8e39993736..4f8d8f410c 100644
--- a/lib-python/2.7/test/test_multiprocessing.py
+++ b/lib-python/2.7/test/test_multiprocessing.py
@@ -1619,7 +1619,7 @@ class _TestManagerRestart(BaseTestCase):
queue = manager.get_queue()
self.assertEqual(queue.get(), 'hello world')
del queue
- test_support.gc_collect()
+ support.gc_collect()
manager.shutdown()
manager = QueueManager(
@@ -2064,7 +2064,7 @@ class _TestHeap(BaseTestCase):
if not gc.isenabled():
gc.enable()
self.addCleanup(gc.disable)
- if test_support.check_impl_detail(cpython=True):
+ if support.check_impl_detail(cpython=True):
thresholds = gc.get_threshold()
self.addCleanup(gc.set_threshold, *thresholds)
gc.set_threshold(10)
@@ -2130,7 +2130,7 @@ class _TestSharedCTypes(BaseTestCase):
def test_synchronize(self):
self.test_sharedctypes(lock=True)
- @unittest.skipUnless(test_support.check_impl_detail(pypy=False), "pypy ctypes differences")
+ @unittest.skipUnless(support.check_impl_detail(pypy=False), "pypy ctypes differences")
def test_copy(self):
foo = _Foo(2, 5.0)
bar = copy(foo)
@@ -2163,7 +2163,7 @@ class _TestFinalize(BaseTestCase):
a = Foo()
util.Finalize(a, conn.send, args=('a',))
del a # triggers callback for a
- test_support.gc_collect()
+ support.gc_collect()
b = Foo()
close_b = util.Finalize(b, conn.send, args=('b',))