mirror of
https://github.com/docker/compose.git
synced 2025-07-08 22:34:26 +02:00
Fix Flake8 lint
This removes extra indentation and replace the use of `is` by `==` when comparing strings Signed-off-by: Ulysses Souza <ulysses.souza@docker.com>
This commit is contained in:
parent
f472fd545b
commit
c8a621b637
@ -193,7 +193,7 @@ class TestConsumeQueue(object):
|
|||||||
queue.put(item)
|
queue.put(item)
|
||||||
|
|
||||||
generator = consume_queue(queue, True)
|
generator = consume_queue(queue, True)
|
||||||
assert next(generator) is 'foobar-1'
|
assert next(generator) == 'foobar-1'
|
||||||
|
|
||||||
def test_item_is_none_when_timeout_is_hit(self):
|
def test_item_is_none_when_timeout_is_hit(self):
|
||||||
queue = Queue()
|
queue = Queue()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user