summaryrefslogtreecommitdiff
path: root/tests/basics/assign1.py
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2015-03-12 22:47:44 +0000
committerDamien George <damien.p.george@gmail.com>2015-03-12 22:48:45 +0000
commitaf43565322f5c45a1a92df1afceff24c93021998 (patch)
tree0334982a350b9201b8e0b256dc7c04dff8b3ea77 /tests/basics/assign1.py
parent848dd0e7620b086f984fc6254afc8202d5448a77 (diff)
tests: Add tests for things that are not already tested.
The aim here is to improve coverage of the code.
Diffstat (limited to 'tests/basics/assign1.py')
-rw-r--r--tests/basics/assign1.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/basics/assign1.py b/tests/basics/assign1.py
new file mode 100644
index 000000000..118747f74
--- /dev/null
+++ b/tests/basics/assign1.py
@@ -0,0 +1,11 @@
+# test assignments
+
+a = 1
+print(a)
+
+a = b = 2
+print(a, b)
+
+a = b = c = 3
+print(a, b, c)
+