summaryrefslogtreecommitdiff
path: root/test/test_completion.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_completion.py')
-rw-r--r--test/test_completion.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_completion.py b/test/test_completion.py
index c731e807..e3d7b950 100644
--- a/test/test_completion.py
+++ b/test/test_completion.py
@@ -145,7 +145,7 @@ def test_new_completion_quoted_random(input_obj, quoted_words):
# generate the text which is supposed to be present in the input
def f(p, i):
- rep = words_l[letters[p]][i] if not ' ' in words_l[letters[p]][i] else '"'+words_l[letters[p]][i]+'"'
+ rep = words_l[letters[p]][i] if ' ' not in words_l[letters[p]][i] else '"'+words_l[letters[p]][i]+'"'
fst = letters[1] if p != 1 else rep
snd = letters[2] if p != 2 else rep
trd = letters[3] if p != 3 else rep