From 6f50d772c12853d7c1a2d1f80f530adce29dbacc Mon Sep 17 00:00:00 2001 From: Johannes Erdfelt Date: Wed, 7 Mar 2012 04:25:19 +0000 Subject: [PATCH] Don't use _ for variable name _ is reserved for gettext use and using _ for variable names can result in runtime failures when trying to lookup string translations Change-Id: I8835142fd19ba5f395ddef959c38167f4144b813 --- nova/tests/test_misc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nova/tests/test_misc.py b/nova/tests/test_misc.py index 51413524..0baf3823 100644 --- a/nova/tests/test_misc.py +++ b/nova/tests/test_misc.py @@ -147,7 +147,7 @@ class LockTestCase(test.TestCase): self.assertEquals(e.errno, errno.EPIPE) return - rfds, _, __ = select.select([rpipe], [], [], 1) + rfds, _wfds, _efds = select.select([rpipe], [], [], 1) self.assertEquals(len(rfds), 0, "The other process, which was" " supposed to be locked, " "wrote on its end of the "