diff options
author | Georg Brandl <georg@python.org> | 2010-02-06 23:33:33 +0000 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-02-06 23:33:33 +0000 |
commit | bd395354438f9ebe5d7095b6bddc51fa37a0f909 (patch) | |
tree | 6313414a4eaf653da4b5fcd5af5c31c7794d2a14 /Lib/test | |
parent | 8650583d16fc654899ac2278e285866d1c31407f (diff) | |
download | cpython-bd395354438f9ebe5d7095b6bddc51fa37a0f909.tar.gz |
Fix import/access for some identifiers. _TestSharedCTypes does not seem to be executed?
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_multiprocessing.py | 6 |
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)) |