Commit 79baa8f8 authored by Ian Henriksen's avatar Ian Henriksen

Added tests for assignment overloading in cascaded assignment.

parent 0a28c907
......@@ -59,3 +59,9 @@ def test():
assert a.val == b.val
a = c
assert a.val == c
a, b, c = 2, 3, 4
a = b = c
assert &a != &b
assert a.val == b.val
assert b.val == c
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment