Skip to content

Commit 0395c8e

Browse files
author
David Noble
committed
Eliminated redundant import
1 parent 4af957c commit 0395c8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_job.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ def test_touch(self):
328328
# This cannot be tested very fast. touch will reset the ttl to the original value for the job,
329329
# so first we have to wait just long enough for the ttl to tick down. Its granularity is 1s,
330330
# so we'll wait 1.1s before we start.
331-
import time; time.sleep(2)
331+
sleep(2)
332332
old_ttl = int(self.job['ttl'])
333333
self.job.touch()
334334
self.job.refresh()

0 commit comments

Comments
 (0)