SYMBOL INDEX (525 symbols across 68 files) FILE: pydu/archive.py class ArchiveException (line 30) | class ArchiveException(Exception): class UnrecognizedArchiveFormat (line 36) | class UnrecognizedArchiveFormat(ArchiveException): function extract (line 42) | def extract(path, dst='', ext=''): class Archive (line 51) | class Archive(object): method __init__ (line 55) | def __init__(self, file, ext=''): method _archive_cls (line 66) | def _archive_cls(file, ext=''): method __enter__ (line 89) | def __enter__(self): method __exit__ (line 92) | def __exit__(self, exc_type, exc_value, traceback): method extract (line 95) | def extract(self, dst=''): method list (line 98) | def list(self): method filenames (line 101) | def filenames(self): method close (line 104) | def close(self): class BaseArchive (line 108) | class BaseArchive(object): method _copy_permissions (line 113) | def _copy_permissions(mode, filename): method split_leading_dir (line 122) | def split_leading_dir(self, path): method has_leading_dir (line 133) | def has_leading_dir(self, paths): method extract (line 149) | def extract(self, dst): method list (line 153) | def list(self): method filenames (line 157) | def filenames(self): method __del__ (line 163) | def __del__(self): class TarArchive (line 168) | class TarArchive(BaseArchive): method __init__ (line 170) | def __init__(self, file): method extract (line 177) | def extract(self, dst): method list (line 209) | def list(self): method filenames (line 212) | def filenames(self): method close (line 215) | def close(self): class ZipArchive (line 219) | class ZipArchive(BaseArchive): method __init__ (line 221) | def __init__(self, file): method extract (line 225) | def extract(self, dst): method list (line 248) | def list(self): method filenames (line 251) | def filenames(self): method close (line 254) | def close(self): FILE: pydu/cmd.py class TimeoutExpired (line 12) | class TimeoutExpired(Exception): method __init__ (line 20) | def __init__(self, cmd, timeout, output=None, stderr=None): method __str__ (line 26) | def __str__(self): method stdout (line 31) | def stdout(self): method stdout (line 35) | def stdout(self, value): function run (line 43) | def run(cmd, shell=False, env=None, timeout=None, timeinterval=1): function run_with_en_env (line 68) | def run_with_en_env(cmd, shell=False, env=None, timeout=None, timeinterv... function terminate (line 86) | def terminate(pid): function cmdline_argv (line 106) | def cmdline_argv(): function cmdline_argv (line 139) | def cmdline_argv(): FILE: pydu/compat.py function is_iterable (line 81) | def is_iterable(x): FILE: pydu/console.py function console_size (line 9) | def console_size(fallback=(80, 25)): function console_size (line 13) | def console_size(fallback=(80, 25)): FILE: pydu/convert.py function boolean (line 5) | def boolean(obj): function _rstrip_L (line 34) | def _rstrip_L(func): function bin2oct (line 45) | def bin2oct(x): function bin2dec (line 53) | def bin2dec(x): function bin2hex (line 62) | def bin2hex(x): function oct2bin (line 72) | def oct2bin(x): function oct2dec (line 80) | def oct2dec(x): function oct2hex (line 89) | def oct2hex(x): function dec2bin (line 99) | def dec2bin(x): function dec2oct (line 108) | def dec2oct(x): function dec2hex (line 117) | def dec2hex(x): function hex2bin (line 127) | def hex2bin(x): function hex2oct (line 136) | def hex2oct(x): function hex2dec (line 144) | def hex2dec(x): FILE: pydu/dict.py class AttrDict (line 14) | class AttrDict(dict): method __getattr__ (line 35) | def __getattr__(self, key): method __setattr__ (line 41) | def __setattr__(self, key, value): method __delattr__ (line 44) | def __delattr__(self, key): method __repr__ (line 50) | def __repr__(self): class CaseInsensitiveDict (line 54) | class CaseInsensitiveDict(MutableMapping): method __init__ (line 77) | def __init__(self, data=None, **kwargs): method __setitem__ (line 83) | def __setitem__(self, key, value): method __getitem__ (line 88) | def __getitem__(self, key): method __delitem__ (line 91) | def __delitem__(self, key): method __iter__ (line 94) | def __iter__(self): method __len__ (line 97) | def __len__(self): method lower_items (line 100) | def lower_items(self): method __eq__ (line 108) | def __eq__(self, other): method copy (line 117) | def copy(self): method __repr__ (line 120) | def __repr__(self): class LookupDict (line 124) | class LookupDict(dict): method __init__ (line 133) | def __init__(self, name=None): method __getitem__ (line 137) | def __getitem__(self, key): class OrderedDefaultDict (line 143) | class OrderedDefaultDict(collections.OrderedDict): method __init__ (line 156) | def __init__(self, default_factory=None, *args, **kwds): method __getitem__ (line 163) | def __getitem__(self, key): method __missing__ (line 169) | def __missing__(self, key): method __reduce__ (line 175) | def __reduce__(self): method copy (line 182) | def copy(self): method __copy__ (line 185) | def __copy__(self): method __deepcopy__ (line 189) | def __deepcopy__(self, memo): method __deepcopy__ (line 193) | def __deepcopy__(self, memo): method __repr__ (line 197) | def __repr__(self): function attrify (line 204) | def attrify(obj): FILE: pydu/dt.py class timer (line 4) | class timer(object): method __init__ (line 11) | def __init__(self, print_func=None): method __enter__ (line 15) | def __enter__(self): method __exit__ (line 18) | def __exit__(self, *_): method __call__ (line 23) | def __call__(self, fun): method __str__ (line 29) | def __str__(self): FILE: pydu/environ.py function environ (line 8) | def environ(**kwargs): function path (line 38) | def path(append=None, prepend=None, replace=None): FILE: pydu/exception.py function ignore (line 8) | def ignore(*exceptions): function default_if_except (line 17) | def default_if_except(exception_clses, default=None): FILE: pydu/functional.py function compose (line 4) | def compose(*funcs): FILE: pydu/inspect.py function getargspec (line 8) | def getargspec(func): function get_func_args (line 43) | def get_func_args(func): function get_func_full_args (line 61) | def get_func_full_args(func): function func_accepts_kwargs (line 102) | def func_accepts_kwargs(func): function func_accepts_var_args (line 126) | def func_accepts_var_args(func): function func_supports_parameter (line 139) | def func_supports_parameter(func, parameter): function func_has_no_args (line 153) | def func_has_no_args(func): FILE: pydu/iter.py function first (line 5) | def first(iterable): function last (line 12) | def last(iterable): function all (line 23) | def all(iterable, predicate): function any (line 31) | def any(iterable, predicate): function join (line 39) | def join(iterable, separator=''): FILE: pydu/list.py function uniq (line 12) | def uniq(seq, key=None): function tolist (line 31) | def tolist(obj): function flatten (line 43) | def flatten(seq): FILE: pydu/misc.py class TimeoutError (line 11) | class TimeoutError(Exception): function timeout (line 15) | def timeout(seconds, error_message='Time out'): function trace (line 46) | def trace(func): # pragma: no cover function memoize (line 76) | def memoize(func): function memoize_when_activated (line 110) | def memoize_when_activated(func): function super_len (line 165) | def super_len(obj): FILE: pydu/network.py class _sockaddr (line 14) | class _sockaddr(ctypes.Structure): function _win_inet_pton (line 26) | def _win_inet_pton(address_family, ip_str): function _win_inet_ntop (line 49) | def _win_inet_ntop(address_family, packed_ip): function dotted_netmask (line 84) | def dotted_netmask(mask): function is_ipv4 (line 103) | def is_ipv4(ip): function is_ipv6 (line 114) | def is_ipv6(ip): function get_free_port (line 125) | def get_free_port(): function ip2int (line 134) | def ip2int(ip_str): function int2ip (line 153) | def int2ip(ip_int): FILE: pydu/path.py function cd (line 6) | def cd(path): function is_super_path (line 16) | def is_super_path(path1, path2): function normjoin (line 39) | def normjoin(path, *paths): function filename (line 44) | def filename(path): function fileext (line 49) | def fileext(path): FILE: pydu/process.py function get_processes_by_path (line 9) | def get_processes_by_path(path): FILE: pydu/request.py class FileName (line 11) | class FileName(object): method from_url (line 13) | def from_url(url): method from_headers (line 24) | def from_headers(headers): method from_any (line 60) | def from_any(cls, dst=None, headers=None, url=None): function download (line 65) | def download(url, dst=None): function check_connect (line 105) | def check_connect(ip, port, retry=1, timeout=0.5): function update_query_params (line 130) | def update_query_params(url, params): function cookies_str_to_dict (line 142) | def cookies_str_to_dict(cookies): FILE: pydu/set.py class OrderedSet (line 5) | class OrderedSet(object): method __init__ (line 10) | def __init__(self, iterable=None): method add (line 13) | def add(self, item): method remove (line 16) | def remove(self, item): method discard (line 19) | def discard(self, item): method __iter__ (line 25) | def __iter__(self): method __contains__ (line 28) | def __contains__(self, item): method __bool__ (line 31) | def __bool__(self): method __nonzero__ (line 34) | def __nonzero__(self): method __len__ (line 37) | def __len__(self): FILE: pydu/slot.py class SlotBase (line 4) | class SlotBase(object): method __init__ (line 10) | def __init__(self, *args, **kwargs): FILE: pydu/string.py function safeunicode (line 9) | def safeunicode(obj, encoding='utf-8'): function safeencode (line 29) | def safeencode(obj, encoding='utf-8'): class _hack (line 48) | class _hack(tuple): pass function _strips (line 56) | def _strips(direction, text, remove): function rstrips (line 73) | def rstrips(text, remove): function lstrips (line 82) | def lstrips(text, remove): function strips (line 97) | def strips(text, remove): function common_prefix (line 106) | def common_prefix(l): function common_suffix (line 122) | def common_suffix(l): function sort (line 138) | def sort(s, reverse=False): FILE: pydu/system.py class _trackfile (line 17) | class _trackfile(builtins.file): method __init__ (line 18) | def __init__(self, *args): method close (line 24) | def close(self): function _trackopen (line 30) | def _trackopen(*args): function _trackopen (line 33) | def _trackopen(*args, **kwargs): class FileTracker (line 49) | class FileTracker(object): method track (line 51) | def track(): method untrack (line 57) | def untrack(): method get_openfiles (line 63) | def get_openfiles(): function makedirs (line 67) | def makedirs(path, mode=0o755, ignore_errors=False, exist_ok=False): function remove (line 83) | def remove(path, ignore_errors=False, onerror=None): function removes (line 120) | def removes(paths, ignore_errors=False, onerror=None): function open_file (line 135) | def open_file(path, mode='wb+', buffer_size=-1, ignore_errors=False): function copy (line 153) | def copy(src, dst, ignore_errors=False, follow_symlinks=True): function touch (line 189) | def touch(path): function chmod (line 197) | def chmod(path, mode, recursive=False): function which (line 218) | def which(cmd, mode=os.F_OK | os.X_OK, path=None): class chcp (line 287) | class chcp(object): method __init__ (line 292) | def __init__(self, code): method __enter__ (line 297) | def __enter__(self): method __exit__ (line 300) | def __exit__(self, exc_type, exc_val, exc_tb): method __repr__ (line 303) | def __repr__(self): function symlink (line 307) | def symlink(src, dst, overwrite=False, ignore_errors=False): function link (line 327) | def link(src, dst, overwrite=False, ignore_errors=False): function preferredencoding (line 347) | def preferredencoding(): FILE: pydu/unit.py class Bytes (line 6) | class Bytes(object): method __init__ (line 10) | def __init__(self, bytes): method convert (line 13) | def convert(self, unit=None, multiple=1024): FILE: setup.py class PyTest (line 8) | class PyTest(TestCommand): method initialize_options (line 11) | def initialize_options(self): method finalize_options (line 19) | def finalize_options(self): method run_tests (line 24) | def run_tests(self): FILE: stubs/pydu/archive.pyi class Archive (line 6) | class Archive(object): method __init__ (line 8) | def __init__(self, file: file, ext: str='') -> None: ... method _archive_cls (line 9) | def _archive_cls(self, file: file, ext: str='') -> None: ... method extract (line 10) | def extract(self, dst: str='') -> None: ... method list (line 11) | def list(self) -> None: ... method filenames (line 12) | def filenames(self) -> list: ... method close (line 13) | def close(self) -> None: ... class BaseArchive (line 15) | class BaseArchive(object): method _copy_permissions (line 17) | def _copy_permissions(mode: int, filename: str) -> None: ... method split_leading_dir (line 18) | def split_leading_dir(self, path: str) -> None: ... method has_leading_dir (line 19) | def has_leading_dir(self, paths: List[str]) -> None: ... method extract (line 20) | def extract(self, dst: str) -> None: ... method list (line 21) | def list(self) -> list: ... method filenames (line 22) | def filenames(self) -> List[str]: ... class TarArchive (line 24) | class TarArchive(BaseArchive): method extract (line 26) | def extract(self, dst: str) -> None: ... method list (line 27) | def list(self) -> None: ... method filenames (line 28) | def filenames(self) -> List[str]: ... method close (line 29) | def close(self) -> None: ... class ZipArchive (line 31) | class ZipArchive(BaseArchive): method extract (line 33) | def extract(self, dst: str) -> None: ... method list (line 34) | def list(self) -> None: ... method filenames (line 35) | def filenames(self) -> List[str]: ... method close (line 36) | def close(self) -> None: ... FILE: stubs/pydu/cmd.pyi class TimeoutExpired (line 5) | class TimeoutExpired(Exception): method __init__ (line 7) | def __init__(self, cmd: str, function run (line 12) | def run(cmd: str, function run_with_en_env (line 17) | def run_with_en_env(cmd: str, function terminate (line 22) | def terminate(pid: int) -> None: ... function cmdline_argv (line 23) | def cmdline_argv() -> List: ... FILE: stubs/pydu/console.pyi function console_size (line 5) | def console_size(fallback: Tuple[int, int]=...) -> Tuple[int, int]: ... FILE: stubs/pydu/convert.pyi function boolean (line 4) | def boolean(obj: Any) -> bool: ... function bin2oct (line 5) | def bin2oct(x: str) -> str: ... function bin2dec (line 6) | def bin2dec(x: str) -> int: ... function bin2hex (line 7) | def bin2hex(x: str) -> str: ... function oct2bin (line 8) | def oct2bin(x: str) -> str: ... function oct2dec (line 9) | def oct2dec(x: str) -> int: ... function oct2hex (line 10) | def oct2hex(x: str) -> str: ... function dec2bin (line 11) | def dec2bin(x: int) -> str: ... function dec2oct (line 12) | def dec2oct(x: int) -> str: ... function dec2hex (line 13) | def dec2hex(x: int) -> str: ... function hex2bin (line 14) | def hex2bin(x: str) -> str: ... function hex2oct (line 15) | def hex2oct(x: str) -> str: ... function hex2dec (line 16) | def hex2dec(x: str) -> int: ... FILE: stubs/pydu/dict.pyi class CaseInsensitiveDict (line 5) | class CaseInsensitiveDict(collections.MutableMapping): method __init__ (line 7) | def __init__(self, data: dict=None, **kwargs) -> None: ... method lower_items (line 8) | def lower_items(self) -> Iterable[Tuple[str, Any]]: ... FILE: stubs/pydu/dt.pyi class timer (line 4) | class timer(object): FILE: stubs/pydu/environ.pyi function environ (line 6) | def environ(kwargs: Dict[str, str]) -> ContextManager[None]: ... function path (line 7) | def path(append: StrList, prepend: StrList, replace: StrList) -> Context... FILE: stubs/pydu/exception.pyi function ignore (line 6) | def ignore(*exceptions: Type[BaseException]) -> ContextManager[None]: ... method __init__ (line 9) | def __init__(self, *exceptions: Type[BaseException]) -> None: ... class ignore (line 8) | class ignore(ContextManager[None]): method __init__ (line 9) | def __init__(self, *exceptions: Type[BaseException]) -> None: ... function default_if_except (line 12) | def default_if_except(exceptions_clses: List[Exception], default: Any=No... FILE: stubs/pydu/functional.pyi function compose (line 4) | def compose(*funcs: List[Callable]): FILE: stubs/pydu/iter.pyi function first (line 6) | def first(iterable: Iterable[T]) -> T: ... function last (line 7) | def last(iterable: Iterable[T]) -> Optional[T]: ... function all (line 8) | def all(iterable: Iterable[T], predicate: Callable[[T], bool]) -> bool: ... function any (line 9) | def any(iterable: Iterable[T], predicate: Callable[[T], bool]) -> bool: ... function join (line 10) | def join(iterable: Iterable[T], separator: str) -> str: ... FILE: stubs/pydu/list.pyi function uniq (line 5) | def uniq(seq: Iterable[Any], key: KeyFunc=None) -> list: ... function tolist (line 6) | def tolist(obj: Any) -> list: ... function flatten (line 7) | def flatten(seq: Iterable[Any]) -> Iterable[Any]: ... FILE: stubs/pydu/misc.pyi function timeout (line 6) | def timeout(seconds: int, error_message: str) -> Callable[[AnyCallable],... function trace (line 7) | def trace(func: AnyCallable) -> AnyCallable: ... function memoize (line 8) | def memoize(func: AnyCallable) -> AnyCallable: ... function memoize_when_activated (line 9) | def memoize_when_activated(func: AnyCallable) -> AnyCallable: ... function super_len (line 10) | def super_len(obj: Any) -> int: ... FILE: stubs/pydu/network.pyi function dotted_netmask (line 3) | def dotted_netmask(mask: Union[int, str]) -> str: ... function is_ipv4 (line 4) | def is_ipv4(ip: str) -> bool: ... function is_ipv6 (line 5) | def is_ipv6(ip: str) -> bool: ... function ip2int (line 6) | def ip2int(ip_str) -> int: ... function int2ip (line 7) | def int2ip(ip_int: int) -> int: ... FILE: stubs/pydu/path.pyi function cd (line 4) | def cd(path: str) -> ContextManager[None]: ... function is_super_path (line 5) | def is_super_path(path1: str, path2: str) -> bool: ... function normjoin (line 6) | def normjoin(path: str, *paths: List(str)) -> str: ... function filename (line 7) | def filename(path: str) -> str: ... function fileexe (line 8) | def fileexe(path: str) -> str: ... FILE: stubs/pydu/process.pyi function get_processes_by_path (line 3) | def get_processes_by_path(path: str) -> List[Dict[str, Union[int, str]]]... FILE: stubs/pydu/request.pyi class FileName (line 7) | class FileName(object): method from_url (line 8) | def from_url(self, url: str) -> str: None method from_headers (line 9) | def from_headers(self, headers: Headers) -> Optional[str]: ... method from_any (line 10) | def from_any(cls, dst: str=None, headers: Headers=None, url: str=None)... function download (line 12) | def download(url: str, dst: str=None) -> str: ... function check_connect (line 13) | def check_connect(ip: str, port: int, retry: int=1, timout: float=0.5) -... function update_query_params (line 14) | def update_query_params(url: str, params: dict) -> str: ... function cookies_str_to_dict (line 15) | def cookies_str_to_dict(cookies: str) -> dict: ... FILE: stubs/pydu/set.pyi class OrderedSet (line 4) | class OrderedSet(object): method __init__ (line 5) | def __init__(self, iterable: Iterable[Tuple[Any, Any]]=None) -> None: ... FILE: stubs/pydu/string.pyi function safeunicode (line 5) | def safeunicode(obj: Any, encoding: str) -> text_type: ... function safeencode (line 6) | def safeencode(obj: Any, encoding: str) -> bytes: ... function _strips (line 7) | def _strips(direction: str, text: str, remove: str) -> str: ... function rstrips (line 8) | def rstrips(text: str, remove: str) -> str: ... function lstrips (line 9) | def lstrips(text: str, remove: str) -> str: ... function strips (line 10) | def strips(text: str, remove: str) -> str: ... function common_prefix (line 11) | def common_prefix(l: list) -> str: ... function common_suffix (line 12) | def common_suffix(l: list) -> str: ... function sort (line 13) | def sort(s: str, reverse: bool) -> str: ... FILE: stubs/pydu/system.pyi function makedirs (line 6) | def makedirs(path: str, mode: int=0o755, ignore_errors: bool=False, exis... function remove (line 7) | def remove(path: str, ignore_errors: bool=False, onerror: Callable=None)... function removes (line 8) | def removes(paths: List[str], ignore_errors: bool=False, onerror: Callab... function open_file (line 9) | def open_file(path: str, mode: str='wb+', buffer_size: int=-1, ignore_er... function copy (line 10) | def copy(src: str, dst: str, ignore_errors: bool=False, follow_symlinks:... function touch (line 11) | def touch(path: str) -> None: ... function chmod (line 12) | def chmod(path: str, mode: int, recursive: bool=False) -> None: ... function which (line 13) | def which(cmd: str, mode: int=os.F_OK | os.X_OK, path: str=None) -> None... class chcp (line 15) | class chcp(object): method __init__ (line 16) | def __init__(self, code: str) -> None: ... function symlink (line 18) | def symlink(src: str, dst: str, overwrite: bool=False, ignore_errors: bo... function link (line 19) | def link(src: str, dst: str, overwrite: bool=False, ignore_errors: bool=... FILE: stubs/pydu/unit.pyi class Bytes (line 4) | class Bytes(object): method __init__ (line 6) | def __init__(self, bytes: str) -> None: ... method convert (line 7) | def convert(self, unit: str=None, multiple: int=1024) -> Tuple[str, st... FILE: tests/test_archive.py class TempDirMixin (line 14) | class TempDirMixin(object): method setUp (line 20) | def setUp(self): method tearDown (line 27) | def tearDown(self): method check_files (line 33) | def check_files(self, tmpdir): class ArchiveTester (line 42) | class ArchiveTester(TempDirMixin): method setUp (line 51) | def setUp(self): method test_extract (line 55) | def test_extract(self): method test_extract_fileobject (line 59) | def test_extract_fileobject(self): method test_extract_no_to_path (line 64) | def test_extract_no_to_path(self): method test_extract_bad_fileobject (line 71) | def test_extract_bad_fileobject(self): class TestZip (line 79) | class TestZip(ArchiveTester, unittest.TestCase): class TestTar (line 83) | class TestTar(ArchiveTester, unittest.TestCase): class TestGzipTar (line 87) | class TestGzipTar(ArchiveTester, unittest.TestCase): class TestBzip2Tar (line 91) | class TestBzip2Tar(ArchiveTester, unittest.TestCase): class TestNonAsciiNamedTar (line 95) | class TestNonAsciiNamedTar(ArchiveTester, unittest.TestCase): class TestUnicodeNamedZip (line 99) | class TestUnicodeNamedZip(ArchiveTester, unittest.TestCase): class TestExplicitExt (line 103) | class TestExplicitExt(ArchiveTester, unittest.TestCase): FILE: tests/test_cmd.py function test_run (line 10) | def test_run(): function test_run_with_en_env (line 25) | def test_run_with_en_env(): function test_terminate (line 33) | def test_terminate(): function test_cmdline_argv (line 41) | def test_cmdline_argv(): FILE: tests/test_compat.py function test_itersth (line 6) | def test_itersth(): function test_has_next_attr (line 18) | def test_has_next_attr(): function test_is_iterable (line 31) | def test_is_iterable(): function test_types (line 39) | def test_types(): function test_urlmisc (line 49) | def test_urlmisc(): function test_imap (line 53) | def test_imap(): function test_cmp (line 58) | def test_cmp(): FILE: tests/test_console.py function test_console_size (line 4) | def test_console_size(): FILE: tests/test_convert.py class TestBoolean (line 13) | class TestBoolean: method test_accepted_text (line 14) | def test_accepted_text(self): method test_unaccepted_text (line 24) | def test_unaccepted_text(self, text): method test_nonstring (line 28) | def test_nonstring(self): function test_bin2oct (line 36) | def test_bin2oct(): function test_bin2dec (line 41) | def test_bin2dec(): function test_bin2hex (line 45) | def test_bin2hex(): function test_oct2bin (line 50) | def test_oct2bin(): function test_oct2dec (line 55) | def test_oct2dec(): function test_oct2hex (line 59) | def test_oct2hex(): function test_dec2bin (line 64) | def test_dec2bin(): function test_dec2oct (line 69) | def test_dec2oct(): function test_dec2hex (line 74) | def test_dec2hex(): function test_hex2bin (line 79) | def test_hex2bin(): function test_hex2oct (line 84) | def test_hex2oct(): function test_hex2dec (line 89) | def test_hex2dec(): FILE: tests/test_dict.py class TestAttrDict (line 7) | class TestAttrDict: method test_attr_access_with_init (line 9) | def test_attr_access_with_init(self): method test_attr_access_without_init (line 14) | def test_attr_access_without_init(self): method test_attr_delete (line 24) | def test_attr_delete(self): method test_repr (line 30) | def test_repr(self): class TestLooUpDict (line 35) | class TestLooUpDict: method test_key_exist (line 37) | def test_key_exist(self): method test_key_not_exist (line 42) | def test_key_not_exist(self): class TestCaseInsensitiveDict (line 47) | class TestCaseInsensitiveDict(unittest.TestCase): method setUp (line 48) | def setUp(self): method test_ci_dict_set (line 52) | def test_ci_dict_set(self): method test_ci_dict_del (line 56) | def test_ci_dict_del(self): method test_ci_dict_copy_and_equal (line 60) | def test_ci_dict_copy_and_equal(self): class TestOrderedDefaultDict (line 65) | class TestOrderedDefaultDict: method test_default_normal (line 66) | def test_default_normal(self): method test_default_factory_not_callable (line 77) | def test_default_factory_not_callable(self): method test_default_factory_none (line 81) | def test_default_factory_none(self): method test_copy (line 86) | def test_copy(self): method test_deepcopy (line 93) | def test_deepcopy(self): method test_repr (line 101) | def test_repr(self): function test_attrify (line 105) | def test_attrify(): FILE: tests/test_dt.py class TestTimer (line 5) | class TestTimer(object): method test_context_manager (line 6) | def test_context_manager(self): method test_decorator (line 14) | def test_decorator(self): method test_print_func (line 24) | def test_print_func(self): FILE: tests/test_environ.py function test_environ (line 5) | def test_environ(): function test_path (line 18) | def test_path(): FILE: tests/test_exception.py function test_ignore (line 4) | def test_ignore(): function test_default_if_except (line 10) | def test_default_if_except(): FILE: tests/test_functional.py function test_compose (line 4) | def test_compose(): FILE: tests/test_inspect.py class Person (line 5) | class Person: method no_arguments (line 6) | def no_arguments(self): method one_argument (line 9) | def one_argument(self, something): method just_args (line 12) | def just_args(self, *args): method just_kwargs (line 15) | def just_kwargs(self, **kwargs): method all_kinds (line 18) | def all_kinds(self, name, address='home', age=25, *args, **kwargs): function func_no_arguments (line 22) | def func_no_arguments(): function func_one_argument (line 26) | def func_one_argument(something): function func_just_args (line 30) | def func_just_args(*args): function func_just_kwargs (line 34) | def func_just_kwargs(**kwargs): function func_all_kinds (line 38) | def func_all_kinds(name, address='home', age=25, *args, **kwargs): function test_get_func_args (line 42) | def test_get_func_args(): function test_get_func_full_args (line 47) | def test_get_func_full_args(): function test_func_accepts_var_args (line 60) | def test_func_accepts_var_args(): function test_func_accepts_kwargs (line 69) | def test_func_accepts_kwargs(): function test_func_supports_parameter (line 78) | def test_func_supports_parameter(): FILE: tests/test_iter.py function test_first_last (line 13) | def test_first_last(iterable): function test_all (line 18) | def test_all(): function test_any (line 23) | def test_any(): function test_join (line 28) | def test_join(): FILE: tests/test_list.py function test_uniq (line 5) | def test_uniq(): function test_tolist (line 10) | def test_tolist(obj): function test_flatten (line 14) | def test_flatten(): FILE: tests/test_misc.py function test_timeout (line 14) | def test_timeout(): function test_memoize (line 30) | def test_memoize(): function test_memoize_when_activated (line 70) | def test_memoize_when_activated(): class TestSuperLen (line 97) | class TestSuperLen: method test_io_streams (line 102) | def test_io_streams(self, stream, value): method test_super_len_correctly_calculates_len_of_partially_read_file (line 107) | def test_super_len_correctly_calculates_len_of_partially_read_file(self): method test_super_len_handles_files_raising_weird_errors_in_tell (line 114) | def test_super_len_handles_files_raising_weird_errors_in_tell(self, er... method test_super_len_tell_ioerror (line 127) | def test_super_len_tell_ioerror(self, error): method test_string (line 139) | def test_string(self): method test_file (line 147) | def test_file(self, tmpdir, mode, warnings_num, recwarn): method test_super_len_with__len__ (line 154) | def test_super_len_with__len__(self): method test_super_len_with_no__len__ (line 159) | def test_super_len_with_no__len__(self): method test_super_len_with_tell (line 166) | def test_super_len_with_tell(self): method test_super_len_with_fileno (line 172) | def test_super_len_with_fileno(self): method test_super_len_with_no_matches (line 178) | def test_super_len_with_no_matches(self): FILE: tests/test_network.py function test_dotted_netmask (line 12) | def test_dotted_netmask(mask, expected): class TestIsIPv4Address (line 16) | class TestIsIPv4Address: method test_valid (line 18) | def test_valid(self): method test_invalid (line 22) | def test_invalid(self, value): class TestIsIPv6Address (line 26) | class TestIsIPv6Address: method test_valid (line 28) | def test_valid(self): method test_invalid (line 32) | def test_invalid(self, value): function test_get_free_port (line 36) | def test_get_free_port(): function test_ip2int (line 42) | def test_ip2int(): function test_int2ip (line 52) | def test_int2ip(): FILE: tests/test_path.py function test_cd (line 7) | def test_cd(tmpdir): class TestIsSupoerPath (line 15) | class TestIsSupoerPath: method test_is_super_path_general (line 16) | def test_is_super_path_general(self): method test_is_super_path_win (line 25) | def test_is_super_path_win(self): function test_normjoin (line 32) | def test_normjoin(): function test_filename (line 44) | def test_filename(): function test_fileext (line 50) | def test_fileext(): FILE: tests/test_platform.py function test_platform_constants (line 5) | def test_platform_constants(): FILE: tests/test_request.py function test_filename_from_url (line 8) | def test_filename_from_url(): function test_filename_from_headers (line 16) | def test_filename_from_headers(): function test_check_connect (line 46) | def test_check_connect(port=None): function test_update_query_params (line 59) | def test_update_query_params(): function test_cookies_str_to_dict (line 67) | def test_cookies_str_to_dict(): FILE: tests/test_set.py function test_ordered_set (line 4) | def test_ordered_set(): FILE: tests/test_slot.py class Foo (line 4) | class Foo(SlotBase): class TestSlotBase (line 8) | class TestSlotBase(object): method test_args (line 9) | def test_args(self): method test_kwargs (line 15) | def test_kwargs(self): method test_args_kwargs (line 21) | def test_args_kwargs(self): FILE: tests/test_string.py function test_safeencode (line 6) | def test_safeencode(): function test_safeunicode (line 12) | def test_safeunicode(): function test_lstrips (line 21) | def test_lstrips(): function test_rstrips (line 29) | def test_rstrips(): function test_strips (line 37) | def test_strips(): function test_common_prefix (line 43) | def test_common_prefix(): function test_common_suffix (line 48) | def test_common_suffix(): function test_sort (line 53) | def test_sort(): FILE: tests/test_system.py class TestFileTracker (line 15) | class TestFileTracker: method test_track_open (line 16) | def test_track_open(self, tmpdir): method test_track_context_open (line 24) | def test_track_context_open(self, tmpdir): method test_untrack (line 31) | def test_untrack(self, tmpdir): class TestMakeDirs (line 39) | class TestMakeDirs: method test_makedirs (line 40) | def test_makedirs(self, tmpdir): method test_makedirs_with_exists_path (line 45) | def test_makedirs_with_exists_path(self, tmpdir): method test_makedirs_with_ignore_error (line 52) | def test_makedirs_with_ignore_error(self, tmpdir): method test_makedirs_without_ignore_error (line 57) | def test_makedirs_without_ignore_error(self, tmpdir): method test_makedirs_with_mutl_dirs (line 63) | def test_makedirs_with_mutl_dirs(self, tmpdir): function test_touch (line 69) | def test_touch(tmpdir): class TestRemove (line 75) | class TestRemove: method test_remove_dir (line 76) | def test_remove_dir(self, tmpdir): method test_remove_file (line 82) | def test_remove_file(self, tmpdir): method test_remove_mutil_dirs (line 88) | def test_remove_mutil_dirs(self, tmpdir): method test_remove_with_ignore_error (line 95) | def test_remove_with_ignore_error(self, tmpdir): method test_remove_without_ignore_error (line 99) | def test_remove_without_ignore_error(self, tmpdir): method test_remove_without_ignore_error_with_onerror (line 104) | def test_remove_without_ignore_error_with_onerror(self): class TestRemoves (line 108) | class TestRemoves: method test_removes_paths (line 109) | def test_removes_paths(self, tmpdir): method test_removes_files (line 120) | def test_removes_files(self, tmpdir): method test_removes_files_and_path (line 130) | def test_removes_files_and_path(self, tmpdir): class TestOpenFile (line 144) | class TestOpenFile: method test_open_file_without_parent_dir (line 145) | def test_open_file_without_parent_dir(self, tmpdir): method test_open_file_in_exist_path (line 150) | def test_open_file_in_exist_path(self, tmpdir): method test_open_exist_file (line 155) | def test_open_exist_file(self, tmpdir): method test_open_file_with_ignore_error (line 162) | def test_open_file_with_ignore_error(self, tmpdir): method test_open_file_without_ignore_error (line 166) | def test_open_file_without_ignore_error(self, tmpdir): class TestLink (line 173) | class TestLink: method test_link_a_file (line 174) | def test_link_a_file(self, tmpdir): method test_link_with_ignore_error (line 181) | def test_link_with_ignore_error(self, tmpdir): method test_link_without_ignore_error (line 187) | def test_link_without_ignore_error(self, tmpdir): method test_link_with_overwrite (line 194) | def test_link_with_overwrite(self, tmpdir): class TestSymLink (line 207) | class TestSymLink: method test_symlink_a_file (line 208) | def test_symlink_a_file(self, tmpdir): method test_symlink_with_ignore_error (line 216) | def test_symlink_with_ignore_error(self, tmpdir): method test_symlink_with_overwrite (line 222) | def test_symlink_with_overwrite(self, tmpdir): method test_symlink_without_ignore_error (line 233) | def test_symlink_without_ignore_error(self, tmpdir): class TestCopy (line 241) | class TestCopy: method test_copy_file (line 242) | def test_copy_file(self, tmpdir): method test_copy_non_empty_dir (line 249) | def test_copy_non_empty_dir(self, tmpdir): method test_copy_empty_dir (line 258) | def test_copy_empty_dir(self, tmpdir): method test_copy_dir_follow_symlink (line 266) | def test_copy_dir_follow_symlink(self, tmpdir): method test_copy_dir_not_follow_symlink (line 280) | def test_copy_dir_not_follow_symlink(self, tmpdir): method test_copy_file_follow_symlink (line 294) | def test_copy_file_follow_symlink(self, tmpdir): method test_copy_file_not_follow_symlink (line 305) | def test_copy_file_not_follow_symlink(self, tmpdir): method test_copy_path_to_exits_path (line 315) | def test_copy_path_to_exits_path(self, tmpdir): method test_copy_without_ignore_error (line 323) | def test_copy_without_ignore_error(self, tmpdir): method test_copy_with_ignore_error (line 331) | def test_copy_with_ignore_error(self, tmpdir): function mycmd (line 340) | def mycmd(tmpdir): class TestWhich (line 349) | class TestWhich: method test_dir_cmd (line 350) | def test_dir_cmd(self, mycmd): method test_cmd_path (line 354) | def test_cmd_path(self, tmpdir, mycmd): function test_chcp (line 365) | def test_chcp(): class TestChmod (line 382) | class TestChmod: method test_chmod_file (line 383) | def test_chmod_file(self, tmpdir): method test_chmod_dir (line 398) | def test_chmod_dir(self, tmpdir): FILE: tests/test_unit.py class TestBytes (line 4) | class TestBytes: method test_convert (line 5) | def test_convert(self): FILE: tests/testing.py class mockserverfy (line 14) | class mockserverfy(object): method __init__ (line 16) | def __init__(self, RequestHandler=BaseHTTPRequestHandler): method __enter__ (line 21) | def __enter__(self): method __exit__ (line 30) | def __exit__(self, exc_type, exc_value, traceback): function mockserver (line 34) | def mockserver(test):