Merge "String to byte conversion should provide the encoding type"

This commit is contained in:
Zuul 2020-07-22 14:21:30 +00:00 committed by Gerrit Code Review
commit eaed386f47

View File

@ -228,7 +228,7 @@ class TestWsgiServer(TestNeutronServer):
# Memorize a port that was chosen for the service
self.port = server.port
os.write(self.pipeout, bytes(self.port))
os.write(self.pipeout, bytes(str(self.port), 'utf-8'))
server.wait()