From 8c3858b01623f9527b57b13c44ff97c67bafb00b Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Sun, 19 Jan 2014 18:41:55 +0200 Subject: Move tests in basic/tests/ up one level preparating to multiple test dirs. --- tests/basics/list_copy.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 tests/basics/list_copy.py (limited to 'tests/basics/list_copy.py') diff --git a/tests/basics/list_copy.py b/tests/basics/list_copy.py new file mode 100644 index 000000000..bc450782e --- /dev/null +++ b/tests/basics/list_copy.py @@ -0,0 +1,7 @@ +# list copy tests +a = [1, 2, []] +b = a.copy() +a[-1].append(1) +a.append(4) +print(a) +print(b) -- cgit v1.2.3