def test_values(self): ss = SortedSet() ss['one'] = 1 ss['two'] = 2 self.assertEqual(list(ss.values()), [1, 2])