From 07b193353115b7c144e8986d0621a0dee9da440b Mon Sep 17 00:00:00 2001 From: ozamiatin <ozamiatin@mirantis.com> Date: Fri, 13 Jan 2017 17:38:05 +0200 Subject: [PATCH] [zmq] Fix py35 gate Change-Id: I786908e35b2a886e9aba52b359e954d51ac9b297 --- oslo_messaging/tests/functional/zmq/test_startup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oslo_messaging/tests/functional/zmq/test_startup.py b/oslo_messaging/tests/functional/zmq/test_startup.py index 1351f7890..ebea76ec7 100644 --- a/oslo_messaging/tests/functional/zmq/test_startup.py +++ b/oslo_messaging/tests/functional/zmq/test_startup.py @@ -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)