summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-02-06 23:33:33 +0000
committerGeorg Brandl <georg@python.org>2010-02-06 23:33:33 +0000
commitbd395354438f9ebe5d7095b6bddc51fa37a0f909 (patch)
tree6313414a4eaf653da4b5fcd5af5c31c7794d2a14
parent8650583d16fc654899ac2278e285866d1c31407f (diff)
downloadcpython-bd395354438f9ebe5d7095b6bddc51fa37a0f909.tar.gz
Fix import/access for some identifiers. _TestSharedCTypes does not seem to be executed?
-rw-r--r--Lib/test/test_multiprocessing.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_multiprocessing.py b/Lib/test/test_multiprocessing.py
index 1f80c78e03..24366a7069 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))