Merge "String to byte conversion should provide the encoding type"
This commit is contained in:
commit
eaed386f47
@ -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()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user