summaryrefslogtreecommitdiffstats
path: root/nova/tests
diff options
context:
space:
mode:
authorJohannes Erdfelt <johannes.erdfelt@rackspace.com>2012-03-07 04:25:19 +0000
committerJohannes Erdfelt <johannes.erdfelt@rackspace.com>2012-03-07 04:25:19 +0000
commitcede470913db51a4a086b472db6bcd017fd8e247 (patch)
treeecc8d1db79b78f49ca78781edd9ddbc1e9e3df82 /nova/tests
parentd954b11944a32b2465b62396855f249e6d09cdc6 (diff)
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
Diffstat (limited to 'nova/tests')
-rw-r--r--nova/tests/test_misc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/tests/test_misc.py b/nova/tests/test_misc.py
index 514135244..0baf38236 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 "