[zmq] Fix py35 gate

Change-Id: I786908e35b2a886e9aba52b359e954d51ac9b297
This commit is contained in:
ozamiatin 2017-01-13 17:38:05 +02:00 committed by Oleksii Zamiatin
parent fa4054a51f
commit 07b1933531

View File

@ -30,7 +30,7 @@ class StartupOrderTestCase(multiproc_utils.MultiprocTestCase):
log_path = os.path.join(self.conf.oslo_messaging_zmq.rpc_zmq_ipc_dir,
str(os.getpid()) + ".log")
sys.stdout = open(log_path, "w", buffering=0)
sys.stdout = open(log_path, "wb", buffering=0)
def test_call_client_wait_for_server(self):
server = self.spawn_server(wait_for_server=True)