Lines Matching defs:self
41 def __init__(self, value=0): argument
43 def __index__(self): argument
49 def test_basics(self): argument
54 def test_copy(self): argument
61 def test_empty_sequence(self): argument
76 def test_from_iterable(self): argument
99 def __getitem__(self, i): argument
104 def test_from_tuple(self): argument
112 def test_from_list(self): argument
120 def test_from_mutating_list(self): argument
123 def __index__(self): argument
130 def __index__(self): argument
137 def test_from_index(self): argument
144 def test_from_buffer(self): argument
153 def __index__(self): argument
158 def test_from_ssize(self): argument
168 def test_constructor_type_errors(self): argument
187 def test_constructor_value_errors(self): argument
200 def test_constructor_overflow(self): argument
210 def test_constructor_exceptions(self): argument
214 def __index__(self): argument
220 def __iter__(self): argument
224 def test_compare(self): argument
248 def test_compare_to_str(self): argument
261 def test_reversed(self): argument
268 def test_getslice(self): argument
288 def test_extended_getslice(self): argument
299 def test_encoding(self): argument
308 def test_decode(self): argument
322 def test_check_encoding_errors(self): argument
378 def test_from_int(self): argument
386 def test_concat(self): argument
395 def test_repeat(self): argument
408 def test_repeat_1char(self): argument
411 def test_contains(self): argument
435 def test_fromhex(self): argument
472 def test_hex(self): argument
480 def test_hex_separator_basics(self): argument
517 def test_hex_separator_five_bytes(self): argument
521 def test_hex_separator_six_bytes(self): argument
537 def test_join(self): argument
567 def test_count(self): argument
590 def test_startswith(self): argument
604 def test_endswith(self): argument
618 def test_find(self): argument
643 def test_rfind(self): argument
662 def test_index(self): argument
682 def test_rindex(self): argument
701 def test_mod(self): argument
718 def test_imod(self): argument
735 def test_rmod(self): argument
740 def test_replace(self): argument
745 def test_replace_int_error(self): argument
748 def test_split_string_error(self): argument
752 def test_split_int_error(self): argument
756 def test_split_unicodewhitespace(self): argument
763 def test_rsplit_unicodewhitespace(self): argument
767 def test_partition(self): argument
772 def test_rpartition(self): argument
778 def test_partition_string_error(self): argument
782 def test_partition_int_error(self): argument
786 def test_pickling(self): argument
794 def test_iterator_pickling(self): argument
812 def test_strip_bytearray(self): argument
817 def test_strip_string_error(self): argument
822 def test_strip_int_error(self): argument
827 def test_center(self): argument
834 def test_ljust(self): argument
841 def test_rjust(self): argument
848 def test_xjust_int_error(self): argument
853 def test_ord(self): argument
858 def test_maketrans(self): argument
866 def test_none_arguments(self): argument
909 def test_integer_arguments_out_of_byte_range(self): argument
917 def test_find_etc_raise_correct_error_messages(self): argument
936 def test_free_after_iterating(self): argument
940 def test_translate(self): argument
971 def test_sq_item(self): argument
984 def test_getitem_error(self): argument
990 def test_buffer_is_readonly(self): argument
995 def test_custom(self): argument
997 def __bytes__(self): argument
1003 def __bytes__(self): argument
1007 def __bytes__(self): argument
1009 def __index__(self): argument
1014 def __bytes__(self): argument
1020 def __bytes__(self): argument
1028 def test_from_format(self): argument
1142 def test_bytes_blocking(self): argument
1172 def test_repeat_id_preserving(self): argument
1198 def test_getitem_error(self): argument
1204 def test_setitem_error(self): argument
1210 def test_nohash(self): argument
1213 def test_bytearray_api(self): argument
1239 def test_reverse(self): argument
1250 def test_clear(self): argument
1265 def test_copy(self): argument
1283 def test_regexps(self): argument
1289 def test_setitem(self): argument
1323 def test_delitem(self): argument
1332 def test_setslice(self): argument
1372 def test_setslice_extend(self): argument
1381 def test_fifo_overrun(self): argument
1390 def test_del_expand(self): argument
1397 def test_extended_set_del_slice(self): argument
1418 def test_setslice_trap(self): argument
1425 def test_iconcat(self): argument
1441 def test_irepeat(self): argument
1449 def test_irepeat_1char(self): argument
1457 def test_alloc(self): argument
1469 def test_init_alloc(self): argument
1486 def test_extend(self): argument
1514 def test_remove(self): argument
1538 def test_pop(self): argument
1548 def test_nosort(self): argument
1551 def test_append(self): argument
1564 def test_insert(self): argument
1576 def test_copied(self): argument
1586 def test_partition_bytearray_doesnt_share_nullstring(self): argument
1607 def test_resize_forbidden(self): argument
1640 def test_obsolete_write_lock(self): argument
1644 def test_iterator_pickling2(self): argument
1682 def test_iterator_length_hint(self): argument
1691 def test_repeat_after_setslice(self): argument
1708 def test_repr_str(self): argument
1719 def test_format(self): argument
1727 def test_compare_bytes_to_bytearray(self): argument
1757 def test_doc(self): argument
1763 def test_from_bytearray(self): argument
1770 def test_to_str(self): argument
1778 def test_literal(self): argument
1791 def test_split_bytearray(self): argument
1794 def test_rsplit_bytearray(self): argument
1797 def test_return_self(self): argument
1804 def test_compare(self): argument
1848 def marshal(self, x): argument
1851 def test_returns_new_copy(self): argument
1875 def fixtype(self, obj): argument
1891 def test_basic(self): argument
1915 def test_join(self): argument
1928 def test_pickle(self): argument
1941 def test_copy(self): argument
1954 def test_fromhex(self): argument
1995 def test_init_override(self): argument