[Python-checkins] r78049 - python/trunk/Lib/test/test_multiprocessing.py
georg.brandl
python-checkins at python.org
Sun Feb 7 00:33:33 CET 2010
Author: georg.brandl
Date: Sun Feb 7 00:33:33 2010
New Revision: 78049
Log:
Fix import/access for some identifiers. _TestSharedCTypes does not seem to be executed?
Modified:
python/trunk/Lib/test/test_multiprocessing.py
Modified: python/trunk/Lib/test/test_multiprocessing.py
==============================================================================
--- python/trunk/Lib/test/test_multiprocessing.py (original)
+++ python/trunk/Lib/test/test_multiprocessing.py Sun Feb 7 00:33:33 2010
@@ -1591,10 +1591,10 @@
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))
More information about the Python-checkins
mailing list