http://gitunderground.i2p/archive/youtube-dl/src/commit/6864855eb111dbf6e0efe9ed086f48efa1d9f209/test/test_compat.py
__all__ present_names = set ( filter ( lambda c : '_' in c and not c . startswith ( '_' ), dir ( youtube_dl . compat ))) - set ([ 'unicode_literals' ]) self . assertEqual ( all_names , sorted ( present_names )) def test_compat_urllib_parse_unquote ( self ): self . assertEqual ( compat_urllib_parse_unquote ( 'abc %20d ef' ), 'abc def' ) self . assertEqual ( compat_urllib_parse_unquote ( ' %7e /abc+def' ), '~/abc+def' ) self . assertEqual ( compat_urllib_parse_unquote ( '' ), '' ) self . assertEqual (...