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.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/remote_test.py b/test/remote_test.py
index 18db39ccb63..40e798444b1 100644
--- a/test/remote_test.py
+++ b/test/remote_test.py
@@ -6,7 +6,7 @@ import unittest
from multiprocessing import Process, Pipe
from pickle import dumps
-import six
+from six import moves
from framework import VppTestCase
@@ -102,7 +102,7 @@ class RemoteClass(Process):
self._pipe = Pipe() # pipe for input/output arguments
def __repr__(self):
- return six.reprlib(RemoteClassAttr(self, None))
+ return moves.reprlib.repr(RemoteClassAttr(self, None))
def __str__(self):
return str(RemoteClassAttr(self, None))
@@ -194,7 +194,7 @@ class RemoteClass(Process):
def _get_local_repr(self, path):
try:
obj = self._get_local_object(path)
- return six.reprlib(obj)
+ return moves.reprlib.repr(obj)
except AttributeError:
return None