From: Georg Brandl Date: Sat, 6 Feb 2010 23:33:33 +0000 (+0000) Subject: Fix import/access for some identifiers. _TestSharedCTypes does not seem to be executed? X-Git-Tag: v2.7a4~248 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bd564c3c21ef4c6d6cb0070870edd9d2f7c89d11;p=thirdparty%2FPython%2Fcpython.git Fix import/access for some identifiers. _TestSharedCTypes does not seem to be executed? --- diff --git a/Lib/test/test_multiprocessing.py b/Lib/test/test_multiprocessing.py index 1f80c78e033e..24366a70698b 100644 --- a/Lib/test/test_multiprocessing.py +++ b/Lib/test/test_multiprocessing.py @@ -1591,10 +1591,10 @@ class _TestSharedCTypes(BaseTestCase): return x = Value('i', 7, lock=lock) - y = Value(ctypes.c_double, 1.0/3.0, lock=lock) + y = Value(c_double, 1.0/3.0, lock=lock) foo = Value(_Foo, 3, 2, lock=lock) - arr = Array('d', range(10), lock=lock) - string = Array('c', 20, lock=lock) + arr = self.Array('d', range(10), lock=lock) + string = self.Array('c', 20, lock=lock) string.value = 'hello' p = self.Process(target=self._double, args=(x, y, foo, arr, string))