From a073b902c16cf07d494c7964aade238a7e8bd280 Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Sun, 9 Mar 2014 13:15:30 +0100 Subject: [PATCH] assignment operators test --- test/completion/operators.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/test/completion/operators.py b/test/completion/operators.py index 99340bf9..777acd46 100644 --- a/test/completion/operators.py +++ b/test/completion/operators.py @@ -52,3 +52,15 @@ for char in reversed(['f', 'o', 'o', 'b', 'a', 'r']): answer = getattr(FooBar, target) ##? str() answer + +# ----------------- +# assignments +# ----------------- + +x = [1, 'a', 1.0] + +i = 0 +i += 1 +i += 1 +#? float() +x[i]