aboutsummaryrefslogtreecommitdiffstats
path: root/test/remote_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/remote_test.py')
-rw-r--r--test/remote_test.py4
1 files changed, 3 insertions, 1 deletions
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