PEP8 Cleanups

This commit is contained in:
Roberto Rosario
2014-11-11 14:58:37 -04:00
parent 5fbfe99c2f
commit 84493b7a72
34 changed files with 30 additions and 87 deletions

View File

@@ -30,7 +30,7 @@ class LockTestCase(TestCase):
lock_2.release()
def test_timeout_expired(self):
lock_1 = Lock.objects.acquire_lock(name='test_lock_1', timeout=1)
Lock.objects.acquire_lock(name='test_lock_1', timeout=1)
# lock_1 not release and not expired, should raise LockError
with self.assertRaises(LockError):