From de9dcf85a0b53628d709c6314bccfefed780703f Mon Sep 17 00:00:00 2001 From: Obulpathi Date: Wed, 20 May 2015 15:27:36 -0400 Subject: [PATCH] Fixes unicode formatting bug Change-Id: I0c3551efab09724dee31855d4a3c88164f9888c9 --- openstack/nose_plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openstack/nose_plugin.py b/openstack/nose_plugin.py index 03230f8..b7f9404 100644 --- a/openstack/nose_plugin.py +++ b/openstack/nose_plugin.py @@ -250,6 +250,6 @@ class Openstack(plugins.Plugin): if cls != self._cls: self.stream.writeln(str(cls)) self._cls = cls - self.stream.write((' ' * 4 + str(name)).ljust(65)) + self.stream.write(' {0}'.format(name).ljust(65)) self.stream.flush() self.times[(cls, name)] = [time.time()]