summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorMichael W. Hudson <mwh@python.net>2002-12-05 21:32:32 (GMT)
committerMichael W. Hudson <mwh@python.net>2002-12-05 21:32:32 (GMT)
commita69c030c15a49418b9735cf971a31a511459281b (patch)
tree6b7c988728d04c985a3d12d9933cd631eeb3e41d /Lib/test
parent7bc2e1dad72bbad11e2df9bc2ee4b6d25dcc90a3 (diff)
downloadcpython-a69c030c15a49418b9735cf971a31a511459281b.zip
cpython-a69c030c15a49418b9735cf971a31a511459281b.tar.gz
cpython-a69c030c15a49418b9735cf971a31a511459281b.tar.bz2
The final tweaks before closing
[ 633152 ] list slice ass ignores subtypes of list Allow arbitrary sequences on the RHS of extended slices.
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_types.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/test_types.py b/Lib/test/test_types.py
index 1e982d1..106d0a5 100644
--- a/Lib/test/test_types.py
+++ b/Lib/test/test_types.py
@@ -430,6 +430,10 @@ b[slice(2,3)] = ["two", "elements"]
c[2:3:] = ["two", "elements"]
vereq(a, b)
vereq(a, c)
+a = range(10)
+a[::2] = tuple(range(5))
+vereq(a, [0, 1, 1, 3, 2, 5, 3, 7, 4, 9])
+
print '6.6 Mappings == Dictionaries'
d = {}