From 546f955b3dad6c0866a8ba778d0cfe1ef43d81d4 Mon Sep 17 00:00:00 2001 From: Jakub Grajciar Date: Wed, 21 Aug 2019 10:51:21 +0200 Subject: memif: API cleanup Use consistent API types. memif_create now enables zero-copy by default. Add no_zero_copy param to memif_create which if set, disables zero copy. Type: refactor Signed-off-by: Jakub Grajciar Change-Id: I11df8b9212c40de179ee71dc9da14039b982ede5 Signed-off-by: Jakub Grajciar --- test/remote_test.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/remote_test.py b/test/remote_test.py index 9c825ccf755..1b42f8a0189 100644 --- a/test/remote_test.py +++ b/test/remote_test.py @@ -248,12 +248,14 @@ class RemoteClass(Process): if name[0] == '_': if name in ['__weakref__']: continue + if name in ['__dict__']: + continue if not (name.startswith('__') and name.endswith('__')): continue if callable(member) and not isinstance(member, property): continue if not self._serializable(member): - continue + member = self._make_serializable(member) setattr(copy, name, member) return copy -- cgit 1.2.3-korg