diff options
author | Georg Brandl <georg@python.org> | 2010-02-06 23:33:33 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-02-06 23:33:33 (GMT) |
commit | bd564c3c21ef4c6d6cb0070870edd9d2f7c89d11 (patch) | |
tree | 372830f8c3d72b4fb7edc486ffa6e44da47e4bcb /Lib | |
parent | c7ca56d21361ef62a3aa3314f317094312e93ce5 (diff) | |
download | cpython-bd564c3c21ef4c6d6cb0070870edd9d2f7c89d11.zip cpython-bd564c3c21ef4c6d6cb0070870edd9d2f7c89d11.tar.gz cpython-bd564c3c21ef4c6d6cb0070870edd9d2f7c89d11.tar.bz2 |
Fix import/access for some identifiers. _TestSharedCTypes does not seem to be executed?
Diffstat (limited to 'Lib')
-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 1f80c78..24366a7 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)) |