Lines Matching refs:mss
1955 mss = MutableSequenceSubclass()
1956 mss.append(0)
1957 mss.extend((1, 2, 3, 4))
1958 self.assertEqual(len(mss), 5)
1959 self.assertEqual(mss[3], 3)
1960 mss.reverse()
1961 self.assertEqual(mss[3], 1)
1962 mss.pop()
1963 self.assertEqual(len(mss), 4)
1964 mss.remove(3)
1965 self.assertEqual(len(mss), 3)
1966 mss += (10, 20, 30)
1967 self.assertEqual(len(mss), 6)
1968 self.assertEqual(mss[-1], 30)
1969 mss.clear()
1970 self.assertEqual(len(mss), 0)
1977 mss.clear()
1978 mss.extend(items)
1979 mss.extend(mss)
1980 self.assertEqual(len(mss), len(mss2))
1981 self.assertEqual(list(mss), list(mss2))