summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2017-10-08 15:36:10 +0100
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2017-10-08 15:38:06 +0100
commitf1b94534a44cf2301e59c3da3cfb0f2ec0931b85 (patch)
treec8ac2221e7844c35db0df8f1011ee8a3e1fcb5e0 /test
parentb2b64426724bcbe6e58f7baab6434219fc8812ed (diff)
downloadpoezio-f1b94534a44cf2301e59c3da3cfb0f2ec0931b85.tar.gz
poezio-f1b94534a44cf2301e59c3da3cfb0f2ec0931b85.tar.bz2
poezio-f1b94534a44cf2301e59c3da3cfb0f2ec0931b85.tar.xz
poezio-f1b94534a44cf2301e59c3da3cfb0f2ec0931b85.zip
Change all “not … in …” into “… not in …”.
Diffstat (limited to 'test')
-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