Move tests in basic/tests/ up one level preparating to multiple test dirs.
This commit is contained in:
8
tests/basics/set_copy.py
Normal file
8
tests/basics/set_copy.py
Normal file
@@ -0,0 +1,8 @@
|
||||
s = {1, 2, 3, 4}
|
||||
t = s.copy()
|
||||
s.add(5)
|
||||
t.add(7)
|
||||
for i in s, t:
|
||||
l = list(i)
|
||||
l.sort()
|
||||
print(l)
|
||||
Reference in New Issue
Block a user