format tests according to the latest pep8 standards

This commit is contained in:
Alexander Kukushkin
2015-10-21 11:08:06 +02:00
parent 0096b6b06f
commit 8bd28507a9
2 changed files with 8 additions and 11 deletions
+3 -1
View File
@@ -67,7 +67,9 @@ class TestRetrySleeper(unittest.TestCase):
self.assertRaises(RetryFailedError, retry, self._fail(times=100))
def test_copy(self):
_sleep = lambda t: None
def _sleep(t):
None
retry = self._makeOne(sleep_func=_sleep)
rcopy = retry.copy()
self.assertTrue(rcopy.sleep_func is _sleep)