aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/memif/test/vpp_memif.py
diff options
context:
space:
mode:
authorOle Troan <ot@cisco.com>2019-10-18 03:39:26 +0200
committerNeale Ranns <nranns@cisco.com>2019-10-18 11:53:32 +0000
commite5b83aa3ebb2617d5b081c425cd85569e508d5bf (patch)
tree63a05382903439a3da41ea664fcae110ee904029 /src/plugins/memif/test/vpp_memif.py
parentf158944cc4f1bfcc21bed16f5c6f9177734adecd (diff)
memif: add python3 support to test
Committed from SK936 seat 1A. Type: fix Signed-off-by: Ole Troan <ot@cisco.com> Change-Id: I717fafbdb9b8576508d6dd72a7e5653cecebfae0 Signed-off-by: Ole Troan <ot@cisco.com>
Diffstat (limited to 'src/plugins/memif/test/vpp_memif.py')
-rw-r--r--src/plugins/memif/test/vpp_memif.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/plugins/memif/test/vpp_memif.py b/src/plugins/memif/test/vpp_memif.py
index ba032c5fb6f..9bcac1fd5b6 100644
--- a/src/plugins/memif/test/vpp_memif.py
+++ b/src/plugins/memif/test/vpp_memif.py
@@ -43,9 +43,8 @@ class VppSocketFilename(VppObject):
rv = self._test.vapi.memif_socket_filename_add_del(
1, self.socket_id, self.socket_filename)
if self.add_default_folder:
- self.socket_filename = b"%s/%s" % (
- six.ensure_binary(self._test.tempdir, encoding='utf-8'),
- self.socket_filename)
+ self.socket_filename = "%s/%s" % (self._test.tempdir,
+ self.socket_filename)
return rv
def remove_vpp_config(self):