Fix import/access for some identifiers. _TestSharedCTypes does not seem to be executed?

This commit is contained in:
Georg Brandl 2010-02-06 23:33:33 +00:00
parent c7ca56d213
commit bd564c3c21
1 changed files with 3 additions and 3 deletions

View File

@ -1591,10 +1591,10 @@ class _TestSharedCTypes(BaseTestCase):
return return
x = Value('i', 7, lock=lock) 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) foo = Value(_Foo, 3, 2, lock=lock)
arr = Array('d', range(10), lock=lock) arr = self.Array('d', range(10), lock=lock)
string = Array('c', 20, lock=lock) string = self.Array('c', 20, lock=lock)
string.value = 'hello' string.value = 'hello'
p = self.Process(target=self._double, args=(x, y, foo, arr, string)) p = self.Process(target=self._double, args=(x, y, foo, arr, string))