summaryrefslogtreecommitdiffstats
path: root/src/plugins/memif/test/vpp_memif.py
diff options
context:
space:
mode:
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):