Move tests in basic/tests/ up one level preparating to multiple test dirs.
This commit is contained in:
7
tests/basics/list_copy.py
Normal file
7
tests/basics/list_copy.py
Normal file
@@ -0,0 +1,7 @@
|
||||
# list copy tests
|
||||
a = [1, 2, []]
|
||||
b = a.copy()
|
||||
a[-1].append(1)
|
||||
a.append(4)
|
||||
print(a)
|
||||
print(b)
|
||||
Reference in New Issue
Block a user