003 File Manager
Current Path:
/usr/local/lib/python3.8/test
usr
/
local
/
lib
/
python3.8
/
test
/
π
..
π
Sine-1000Hz-300ms.aif
(60.25 KB)
π
__init__.py
(47 B)
π
__main__.py
(41 B)
π
__pycache__
π
_test_multiprocessing.py
(183.09 KB)
π
allsans.pem
(9.87 KB)
π
ann_module.py
(1.08 KB)
π
ann_module2.py
(519 B)
π
ann_module3.py
(448 B)
π
audiodata
π
audiotest.au
(27.48 KB)
π
audiotests.py
(12.46 KB)
π
audit-tests.py
(8.9 KB)
π
autotest.py
(209 B)
π
bad_coding.py
(24 B)
π
bad_coding2.py
(30 B)
π
bad_getattr.py
(61 B)
π
bad_getattr2.py
(77 B)
π
bad_getattr3.py
(139 B)
π
badcert.pem
(1.88 KB)
π
badkey.pem
(2.11 KB)
π
badsyntax_3131.py
(32 B)
π
badsyntax_future10.py
(95 B)
π
badsyntax_future3.py
(172 B)
π
badsyntax_future4.py
(153 B)
π
badsyntax_future5.py
(184 B)
π
badsyntax_future6.py
(161 B)
π
badsyntax_future7.py
(196 B)
π
badsyntax_future8.py
(122 B)
π
badsyntax_future9.py
(142 B)
π
badsyntax_pep3120.py
(14 B)
π
bisect_cmd.py
(4.85 KB)
π
bytecode_helper.py
(1.56 KB)
π
capath
π
cfgparser.1
(67 B)
π
cfgparser.2
(19.02 KB)
π
cfgparser.3
(1.55 KB)
π
cjkencodings
π
clinic.test
(94.65 KB)
π
cmath_testcases.txt
(141.05 KB)
π
coding20731.py
(22 B)
π
curses_tests.py
(1.22 KB)
π
data
π
dataclass_module_1.py
(837 B)
π
dataclass_module_1_str.py
(835 B)
π
dataclass_module_2.py
(756 B)
π
dataclass_module_2_str.py
(754 B)
π
dataclass_textanno.py
(126 B)
π
datetimetester.py
(239.84 KB)
π
decimaltestdata
π
dis_module.py
(76 B)
π
doctest_aliases.py
(240 B)
π
double_const.py
(1.18 KB)
π
dtracedata
π
eintrdata
π
empty.vbs
(70 B)
π
encoded_modules
π
exception_hierarchy.txt
(1.78 KB)
π
ffdh3072.pem
(2.16 KB)
π
final_a.py
(411 B)
π
final_b.py
(411 B)
π
floating_points.txt
(15.92 KB)
π
fork_wait.py
(2.53 KB)
π
formatfloat_testcases.txt
(7.45 KB)
π
future_test1.py
(229 B)
π
future_test2.py
(149 B)
π
gdb_sample.py
(153 B)
π
good_getattr.py
(198 B)
π
idnsans.pem
(9.71 KB)
π
ieee754.txt
(3.21 KB)
π
imghdrdata
π
imp_dummy.py
(63 B)
π
inspect_fodder.py
(1.88 KB)
π
inspect_fodder2.py
(2.06 KB)
π
keycert.passwd.pem
(4.13 KB)
π
keycert.pem
(3.96 KB)
π
keycert2.pem
(3.98 KB)
π
keycert3.pem
(9.23 KB)
π
keycert4.pem
(9.24 KB)
π
keycertecc.pem
(5.5 KB)
π
libregrtest
π
list_tests.py
(16.54 KB)
π
lock_tests.py
(28.26 KB)
π
mailcap.txt
(1.24 KB)
π
make_ssl_certs.py
(9.25 KB)
π
mapping_tests.py
(21.75 KB)
π
math_testcases.txt
(23.19 KB)
π
memory_watchdog.py
(859 B)
π
mime.types
(47.37 KB)
π
mock_socket.py
(3.53 KB)
π
mod_generics_cache.py
(1.13 KB)
π
mp_fork_bomb.py
(448 B)
π
mp_preload.py
(351 B)
π
multibytecodec_support.py
(14.17 KB)
π
nokia.pem
(1.88 KB)
π
nosan.pem
(7.54 KB)
π
nullbytecert.pem
(5.31 KB)
π
nullcert.pem
(0 B)
π
outstanding_bugs.py
(370 B)
π
pickletester.py
(135.99 KB)
π
profilee.py
(2.97 KB)
π
pstats.pck
(65.05 KB)
π
pycacert.pem
(5.53 KB)
π
pycakey.pem
(2.43 KB)
π
pyclbr_input.py
(648 B)
π
pydoc_mod.py
(713 B)
π
pydocfodder.py
(6.18 KB)
π
pythoninfo.py
(20.34 KB)
π
randv2_32.pck
(7.34 KB)
π
randv2_64.pck
(7.19 KB)
π
randv3.pck
(7.82 KB)
π
re_tests.py
(25.93 KB)
π
recursion.tar
(516 B)
π
regrtest.py
(1.34 KB)
π
relimport.py
(27 B)
π
reperf.py
(538 B)
π
revocation.crl
(800 B)
π
sample_doctest.py
(1.02 KB)
π
sample_doctest_no_docstrings.py
(227 B)
π
sample_doctest_no_doctests.py
(269 B)
π
secp384r1.pem
(256 B)
π
selfsigned_pythontestdotnet.pem
(2.08 KB)
π
seq_tests.py
(14.18 KB)
π
sgml_input.html
(8.1 KB)
π
signalinterproctester.py
(2.7 KB)
π
sndhdrdata
π
sortperf.py
(4.69 KB)
π
ssl_cert.pem
(1.53 KB)
π
ssl_key.passwd.pem
(2.59 KB)
π
ssl_key.pem
(2.43 KB)
π
ssl_servers.py
(7.04 KB)
π
ssltests.py
(1.03 KB)
π
string_tests.py
(64.65 KB)
π
subprocessdata
π
support
π
talos-2019-0758.pem
(1.3 KB)
π
test___all__.py
(4.12 KB)
π
test___future__.py
(2.36 KB)
π
test__locale.py
(7.83 KB)
π
test__opcode.py
(3.03 KB)
π
test__osx_support.py
(13.66 KB)
π
test__xxsubinterpreters.py
(68.7 KB)
π
test_abc.py
(18 KB)
π
test_abstract_numbers.py
(1.49 KB)
π
test_aifc.py
(17.68 KB)
π
test_argparse.py
(172.67 KB)
π
test_array.py
(52.57 KB)
π
test_asdl_parser.py
(4.15 KB)
π
test_ast.py
(88.53 KB)
π
test_asyncgen.py
(31.44 KB)
π
test_asynchat.py
(9.28 KB)
π
test_asyncio
π
test_asyncore.py
(25.81 KB)
π
test_atexit.py
(5.81 KB)
π
test_audioop.py
(28.24 KB)
π
test_audit.py
(4.05 KB)
π
test_augassign.py
(7.68 KB)
π
test_base64.py
(30.17 KB)
π
test_baseexception.py
(6.86 KB)
π
test_bdb.py
(41.55 KB)
π
test_bigaddrspace.py
(2.92 KB)
π
test_bigmem.py
(44.88 KB)
π
test_binascii.py
(18 KB)
π
test_binhex.py
(1.79 KB)
π
test_binop.py
(14.14 KB)
π
test_bisect.py
(13.63 KB)
π
test_bool.py
(12.48 KB)
π
test_buffer.py
(160.04 KB)
π
test_bufio.py
(2.54 KB)
π
test_builtin.py
(78.38 KB)
π
test_bytes.py
(72.23 KB)
π
test_bz2.py
(36.76 KB)
π
test_c_locale_coercion.py
(18.82 KB)
π
test_calendar.py
(48.71 KB)
π
test_call.py
(20.88 KB)
π
test_capi.py
(30.46 KB)
π
test_cgi.py
(22.15 KB)
π
test_cgitb.py
(2.5 KB)
π
test_charmapcodec.py
(1.68 KB)
π
test_class.py
(17.42 KB)
π
test_clinic.py
(21.71 KB)
π
test_cmath.py
(24.07 KB)
π
test_cmd.py
(6.1 KB)
π
test_cmd_line.py
(33.72 KB)
π
test_cmd_line_script.py
(31.46 KB)
π
test_code.py
(13.66 KB)
π
test_code_module.py
(5.51 KB)
π
test_codeccallbacks.py
(40.97 KB)
π
test_codecencodings_cn.py
(3.86 KB)
π
test_codecencodings_hk.py
(701 B)
π
test_codecencodings_iso2022.py
(1.36 KB)
π
test_codecencodings_jp.py
(4.79 KB)
π
test_codecencodings_kr.py
(2.96 KB)
π
test_codecencodings_tw.py
(681 B)
π
test_codecmaps_cn.py
(746 B)
π
test_codecmaps_hk.py
(386 B)
π
test_codecmaps_jp.py
(1.7 KB)
π
test_codecmaps_kr.py
(1.16 KB)
π
test_codecmaps_tw.py
(705 B)
π
test_codecs.py
(129.38 KB)
π
test_codeop.py
(7.97 KB)
π
test_collections.py
(83.93 KB)
π
test_colorsys.py
(3.83 KB)
π
test_compare.py
(3.82 KB)
π
test_compile.py
(36.48 KB)
π
test_compileall.py
(26.7 KB)
π
test_complex.py
(30.24 KB)
π
test_concurrent_futures.py
(44.93 KB)
π
test_configparser.py
(84.93 KB)
π
test_contains.py
(3.49 KB)
π
test_context.py
(29.33 KB)
π
test_contextlib.py
(32.54 KB)
π
test_contextlib_async.py
(14.82 KB)
π
test_copy.py
(25.81 KB)
π
test_copyreg.py
(4.39 KB)
π
test_coroutines.py
(62.52 KB)
π
test_cprofile.py
(6.33 KB)
π
test_crashers.py
(1.17 KB)
π
test_crypt.py
(3.97 KB)
π
test_csv.py
(47.77 KB)
π
test_ctypes.py
(184 B)
π
test_curses.py
(45.47 KB)
π
test_dataclasses.py
(108.8 KB)
π
test_datetime.py
(2.15 KB)
π
test_dbm.py
(6.45 KB)
π
test_dbm_dumb.py
(10.61 KB)
π
test_dbm_gnu.py
(6.22 KB)
π
test_dbm_ndbm.py
(5.05 KB)
π
test_decimal.py
(206.63 KB)
π
test_decorators.py
(9.48 KB)
π
test_defaultdict.py
(5.88 KB)
π
test_deque.py
(34.46 KB)
π
test_descr.py
(190.58 KB)
π
test_descrtut.py
(11.53 KB)
π
test_devpoll.py
(4.5 KB)
π
test_dict.py
(45 KB)
π
test_dict_version.py
(5.88 KB)
π
test_dictcomps.py
(4.42 KB)
π
test_dictviews.py
(11.68 KB)
π
test_difflib.py
(19.64 KB)
π
test_difflib_expect.html
(100.85 KB)
π
test_dis.py
(48.4 KB)
π
test_distutils.py
(375 B)
π
test_doctest.py
(98.67 KB)
π
test_doctest.txt
(300 B)
π
test_doctest2.py
(2.3 KB)
π
test_doctest2.txt
(392 B)
π
test_doctest3.txt
(82 B)
π
test_doctest4.txt
(244 B)
π
test_docxmlrpc.py
(8.67 KB)
π
test_dtrace.py
(5.23 KB)
π
test_dummy_thread.py
(9.69 KB)
π
test_dummy_threading.py
(1.7 KB)
π
test_dynamic.py
(4.29 KB)
π
test_dynamicclassattribute.py
(9.57 KB)
π
test_eintr.py
(1.32 KB)
π
test_email
π
test_embed.py
(49.23 KB)
π
test_ensurepip.py
(9.83 KB)
π
test_enum.py
(113.68 KB)
π
test_enumerate.py
(8.46 KB)
π
test_eof.py
(1.94 KB)
π
test_epoll.py
(9.03 KB)
π
test_errno.py
(1.04 KB)
π
test_exception_hierarchy.py
(7.43 KB)
π
test_exception_variations.py
(3.86 KB)
π
test_exceptions.py
(49.81 KB)
π
test_extcall.py
(13.49 KB)
π
test_faulthandler.py
(28.13 KB)
π
test_fcntl.py
(6.21 KB)
π
test_file.py
(11.02 KB)
π
test_file_eintr.py
(10.6 KB)
π
test_filecmp.py
(8.69 KB)
π
test_fileinput.py
(37.33 KB)
π
test_fileio.py
(19.96 KB)
π
test_finalization.py
(14.66 KB)
π
test_float.py
(63.41 KB)
π
test_flufl.py
(1.32 KB)
π
test_fnmatch.py
(5.07 KB)
π
test_fork1.py
(3.67 KB)
π
test_format.py
(22.58 KB)
π
test_fractions.py
(29.83 KB)
π
test_frame.py
(5.67 KB)
π
test_frozen.py
(943 B)
π
test_fstring.py
(46.16 KB)
π
test_ftplib.py
(39.71 KB)
π
test_funcattrs.py
(13.54 KB)
π
test_functools.py
(90.59 KB)
π
test_future.py
(11.9 KB)
π
test_future3.py
(490 B)
π
test_future4.py
(222 B)
π
test_future5.py
(510 B)
π
test_gc.py
(40.49 KB)
π
test_gdb.py
(40.88 KB)
π
test_generator_stop.py
(943 B)
π
test_generators.py
(58.51 KB)
π
test_genericclass.py
(9.28 KB)
π
test_genericpath.py
(21.7 KB)
π
test_genexps.py
(7.12 KB)
π
test_getargs2.py
(50 KB)
π
test_getopt.py
(6.75 KB)
π
test_getpass.py
(6.29 KB)
π
test_gettext.py
(41.38 KB)
π
test_glob.py
(13.03 KB)
π
test_global.py
(1.31 KB)
π
test_grammar.py
(57.5 KB)
π
test_grp.py
(3.54 KB)
π
test_gzip.py
(29.9 KB)
π
test_hash.py
(11.45 KB)
π
test_hashlib.py
(39.43 KB)
π
test_heapq.py
(16.4 KB)
π
test_hmac.py
(22.24 KB)
π
test_html.py
(4.23 KB)
π
test_htmlparser.py
(33.19 KB)
π
test_http_cookiejar.py
(78.36 KB)
π
test_http_cookies.py
(18.71 KB)
π
test_httplib.py
(76.98 KB)
π
test_httpservers.py
(45.24 KB)
π
test_idle.py
(825 B)
π
test_imaplib.py
(38.95 KB)
π
test_imghdr.py
(4.66 KB)
π
test_imp.py
(17.73 KB)
π
test_import
π
test_importlib
π
test_index.py
(8.37 KB)
π
test_inspect.py
(151.79 KB)
π
test_int.py
(20.8 KB)
π
test_int_literal.py
(6.89 KB)
π
test_io.py
(163.94 KB)
π
test_ioctl.py
(3.2 KB)
π
test_ipaddress.py
(90.98 KB)
π
test_isinstance.py
(10.25 KB)
π
test_iter.py
(31.81 KB)
π
test_iterlen.py
(7.1 KB)
π
test_itertools.py
(101.41 KB)
π
test_json
π
test_keyword.py
(1.23 KB)
π
test_keywordonlyarg.py
(6.85 KB)
π
test_kqueue.py
(8.76 KB)
π
test_largefile.py
(6.83 KB)
π
test_lib2to3.py
(101 B)
π
test_linecache.py
(7.79 KB)
π
test_list.py
(7.4 KB)
π
test_listcomps.py
(3.76 KB)
π
test_lltrace.py
(1012 B)
π
test_locale.py
(23.87 KB)
π
test_logging.py
(182.43 KB)
π
test_long.py
(53.21 KB)
π
test_longexp.py
(233 B)
π
test_lzma.py
(87.92 KB)
π
test_mailbox.py
(91.92 KB)
π
test_mailcap.py
(9.88 KB)
π
test_marshal.py
(20.57 KB)
π
test_math.py
(82.18 KB)
π
test_memoryio.py
(31.48 KB)
π
test_memoryview.py
(17.78 KB)
π
test_metaclass.py
(6.2 KB)
π
test_mimetypes.py
(12.14 KB)
π
test_minidom.py
(66.95 KB)
π
test_mmap.py
(29.04 KB)
π
test_module.py
(10.3 KB)
π
test_modulefinder.py
(12.2 KB)
π
test_msilib.py
(5.06 KB)
π
test_multibytecodec.py
(15.04 KB)
π
test_multiprocessing_fork.py
(477 B)
π
test_multiprocessing_forkserver.py
(392 B)
π
test_multiprocessing_main_handling.py
(11.45 KB)
π
test_multiprocessing_spawn.py
(277 B)
π
test_named_expressions.py
(16.51 KB)
π
test_netrc.py
(5.96 KB)
π
test_nis.py
(1.13 KB)
π
test_nntplib.py
(61.7 KB)
π
test_normalization.py
(3.66 KB)
π
test_ntpath.py
(35.08 KB)
π
test_numeric_tower.py
(7.18 KB)
π
test_opcodes.py
(3.61 KB)
π
test_openpty.py
(600 B)
π
test_operator.py
(23.54 KB)
π
test_optparse.py
(60.99 KB)
π
test_ordered_dict.py
(30.22 KB)
π
test_os.py
(150.53 KB)
π
test_ossaudiodev.py
(7.06 KB)
π
test_osx_env.py
(1.3 KB)
π
test_parser.py
(35.72 KB)
π
test_pathlib.py
(97.12 KB)
π
test_pdb.py
(55.36 KB)
π
test_peepholer.py
(19.41 KB)
π
test_pickle.py
(19.16 KB)
π
test_picklebuffer.py
(4.96 KB)
π
test_pickletools.py
(4.33 KB)
π
test_pipes.py
(6.59 KB)
π
test_pkg.py
(9.59 KB)
π
test_pkgimport.py
(2.67 KB)
π
test_pkgutil.py
(19.25 KB)
π
test_platform.py
(14.31 KB)
π
test_plistlib.py
(41.43 KB)
π
test_poll.py
(7.23 KB)
π
test_popen.py
(1.98 KB)
π
test_poplib.py
(16.97 KB)
π
test_positional_only_arg.py
(17.5 KB)
π
test_posix.py
(75.76 KB)
π
test_posixpath.py
(29.19 KB)
π
test_pow.py
(5.44 KB)
π
test_pprint.py
(43.85 KB)
π
test_print.py
(7.37 KB)
π
test_profile.py
(8.72 KB)
π
test_property.py
(8.77 KB)
π
test_pstats.py
(3.04 KB)
π
test_pty.py
(11.97 KB)
π
test_pulldom.py
(12.66 KB)
π
test_pwd.py
(4.17 KB)
π
test_py_compile.py
(10.78 KB)
π
test_pyclbr.py
(10 KB)
π
test_pydoc.py
(56.98 KB)
π
test_pyexpat.py
(26.54 KB)
π
test_queue.py
(20.36 KB)
π
test_quopri.py
(7.78 KB)
π
test_raise.py
(12.86 KB)
π
test_random.py
(45.59 KB)
π
test_range.py
(23.35 KB)
π
test_re.py
(106.41 KB)
π
test_readline.py
(12.95 KB)
π
test_regrtest.py
(46.36 KB)
π
test_repl.py
(3.96 KB)
π
test_reprlib.py
(15.12 KB)
π
test_resource.py
(7.02 KB)
π
test_richcmp.py
(11.91 KB)
π
test_rlcompleter.py
(6.3 KB)
π
test_robotparser.py
(10.69 KB)
π
test_runpy.py
(33.86 KB)
π
test_sax.py
(46.9 KB)
π
test_sched.py
(6.41 KB)
π
test_scope.py
(19.7 KB)
π
test_script_helper.py
(5.78 KB)
π
test_secrets.py
(4.28 KB)
π
test_select.py
(2.69 KB)
π
test_selectors.py
(17.79 KB)
π
test_set.py
(64.41 KB)
π
test_setcomps.py
(3.7 KB)
π
test_shelve.py
(6.24 KB)
π
test_shlex.py
(13.29 KB)
π
test_shutil.py
(101.55 KB)
π
test_signal.py
(46.62 KB)
π
test_site.py
(24.71 KB)
π
test_slice.py
(8.25 KB)
π
test_smtpd.py
(40.14 KB)
π
test_smtplib.py
(56.51 KB)
π
test_smtpnet.py
(2.87 KB)
π
test_sndhdr.py
(1.43 KB)
π
test_socket.py
(232.71 KB)
π
test_socketserver.py
(17.7 KB)
π
test_sort.py
(13.42 KB)
π
test_source_encoding.py
(7.89 KB)
π
test_spwd.py
(2.71 KB)
π
test_sqlite.py
(948 B)
π
test_ssl.py
(203.3 KB)
π
test_startfile.py
(1.29 KB)
π
test_stat.py
(8.3 KB)
π
test_statistics.py
(106.5 KB)
π
test_strftime.py
(7.54 KB)
π
test_string.py
(19.8 KB)
π
test_string_literals.py
(9.88 KB)
π
test_stringprep.py
(3.04 KB)
π
test_strptime.py
(34.42 KB)
π
test_strtod.py
(20.06 KB)
π
test_struct.py
(34.41 KB)
π
test_structmembers.py
(4.7 KB)
π
test_structseq.py
(3.87 KB)
π
test_subclassinit.py
(8.12 KB)
π
test_subprocess.py
(142.64 KB)
π
test_sunau.py
(6.07 KB)
π
test_sundry.py
(2.07 KB)
π
test_super.py
(9.6 KB)
π
test_support.py
(24.12 KB)
π
test_symbol.py
(2.06 KB)
π
test_symtable.py
(9.13 KB)
π
test_syntax.py
(25.75 KB)
π
test_sys.py
(55.24 KB)
π
test_sys_setprofile.py
(12.31 KB)
π
test_sys_settrace.py
(43.08 KB)
π
test_sysconfig.py
(17.01 KB)
π
test_syslog.py
(1.15 KB)
π
test_tabnanny.py
(13.44 KB)
π
test_tarfile.py
(98.31 KB)
π
test_tcl.py
(30.74 KB)
π
test_telnetlib.py
(12.7 KB)
π
test_tempfile.py
(52.57 KB)
π
test_textwrap.py
(38.84 KB)
π
test_thread.py
(8.41 KB)
π
test_threaded_import.py
(8.9 KB)
π
test_threadedtempfile.py
(1.85 KB)
π
test_threading.py
(47.52 KB)
π
test_threading_local.py
(6.09 KB)
π
test_threadsignals.py
(10.09 KB)
π
test_time.py
(38.43 KB)
π
test_timeit.py
(14.8 KB)
π
test_timeout.py
(11.19 KB)
π
test_tix.py
(756 B)
π
test_tk.py
(362 B)
π
test_tokenize.py
(63.18 KB)
π
test_tools
π
test_trace.py
(19.89 KB)
π
test_traceback.py
(46.97 KB)
π
test_tracemalloc.py
(37.41 KB)
π
test_ttk_guionly.py
(746 B)
π
test_ttk_textonly.py
(299 B)
π
test_tuple.py
(18.85 KB)
π
test_turtle.py
(12.79 KB)
π
test_type_comments.py
(10.13 KB)
π
test_typechecks.py
(2.55 KB)
π
test_types.py
(58 KB)
π
test_typing.py
(122.05 KB)
π
test_ucn.py
(9.35 KB)
π
test_unary.py
(1.63 KB)
π
test_unicode.py
(129.94 KB)
π
test_unicode_file.py
(5.74 KB)
π
test_unicode_file_functions.py
(6.84 KB)
π
test_unicode_identifiers.py
(891 B)
π
test_unicodedata.py
(12.7 KB)
π
test_unittest.py
(286 B)
π
test_univnewlines.py
(3.83 KB)
π
test_unpack.py
(3.01 KB)
π
test_unpack_ex.py
(8.73 KB)
π
test_urllib.py
(71.24 KB)
π
test_urllib2.py
(76.95 KB)
π
test_urllib2_localnet.py
(24.24 KB)
π
test_urllib2net.py
(12.39 KB)
π
test_urllib_response.py
(1.69 KB)
π
test_urllibnet.py
(8.9 KB)
π
test_urlparse.py
(64.87 KB)
π
test_userdict.py
(7.64 KB)
π
test_userlist.py
(1.97 KB)
π
test_userstring.py
(2.4 KB)
π
test_utf8_mode.py
(9.22 KB)
π
test_utf8source.py
(1.15 KB)
π
test_uu.py
(8.02 KB)
π
test_uuid.py
(35.74 KB)
π
test_venv.py
(20.46 KB)
π
test_wait3.py
(1.16 KB)
π
test_wait4.py
(1.15 KB)
π
test_warnings
π
test_wave.py
(6.57 KB)
π
test_weakref.py
(69.47 KB)
π
test_weakset.py
(15.03 KB)
π
test_webbrowser.py
(10.47 KB)
π
test_winconsoleio.py
(6.14 KB)
π
test_winreg.py
(21.38 KB)
π
test_winsound.py
(4.57 KB)
π
test_with.py
(25.78 KB)
π
test_wsgiref.py
(30.1 KB)
π
test_xdrlib.py
(2.17 KB)
π
test_xml_dom_minicompat.py
(4.18 KB)
π
test_xml_etree.py
(147.87 KB)
π
test_xml_etree_c.py
(8.06 KB)
π
test_xmlrpc.py
(55.96 KB)
π
test_xmlrpc_net.py
(1015 B)
π
test_xxtestfuzz.py
(670 B)
π
test_yield_from.py
(30.01 KB)
π
test_zipapp.py
(15.92 KB)
π
test_zipfile.py
(115.45 KB)
π
test_zipfile64.py
(5.8 KB)
π
test_zipimport.py
(29.28 KB)
π
test_zipimport_support.py
(10.44 KB)
π
test_zlib.py
(34.48 KB)
π
testcodec.py
(1.02 KB)
π
testtar.tar
(425 KB)
π
tf_inherit_check.py
(714 B)
π
threaded_import_hangers.py
(1.45 KB)
π
time_hashlib.py
(2.87 KB)
π
tokenize_tests-latin1-coding-cookie-and-utf8-bom-sig.txt
(443 B)
π
tokenize_tests-no-coding-cookie-and-utf8-bom-sig-only.txt
(302 B)
π
tokenize_tests-utf8-coding-cookie-and-no-utf8-bom-sig.txt
(421 B)
π
tokenize_tests-utf8-coding-cookie-and-utf8-bom-sig.txt
(326 B)
π
tokenize_tests.txt
(2.65 KB)
π
tracedmodules
π
win_console_handler.py
(1.38 KB)
π
xmltestdata
π
xmltests.py
(499 B)
π
zip_cp437_header.zip
(270 B)
π
zipdir.zip
(374 B)
π
ziptestdata
Editing: test_html.py
""" Tests for the html module functions. """ import html import unittest class HtmlTests(unittest.TestCase): def test_escape(self): self.assertEqual( html.escape('\'<script>"&foo;"</script>\''), ''<script>"&foo;"</script>'') self.assertEqual( html.escape('\'<script>"&foo;"</script>\'', False), '\'<script>"&foo;"</script>\'') def test_unescape(self): numeric_formats = ['&#%d', '&#%d;', '&#x%x', '&#x%x;'] errmsg = 'unescape(%r) should have returned %r' def check(text, expected): self.assertEqual(html.unescape(text), expected, msg=errmsg % (text, expected)) def check_num(num, expected): for format in numeric_formats: text = format % num self.assertEqual(html.unescape(text), expected, msg=errmsg % (text, expected)) # check text with no character references check('no character references', 'no character references') # check & followed by invalid chars check('&\n&\t& &&', '&\n&\t& &&') # check & followed by numbers and letters check('&0 &9 &a &0; &9; &a;', '&0 &9 &a &0; &9; &a;') # check incomplete entities at the end of the string for x in ['&', '&#', '&#x', '&#X', '&#y', '&#xy', '&#Xy']: check(x, x) check(x+';', x+';') # check several combinations of numeric character references, # possibly followed by different characters formats = ['&#%d', '&#%07d', '&#%d;', '&#%07d;', '&#x%x', '&#x%06x', '&#x%x;', '&#x%06x;', '&#x%X', '&#x%06X', '&#X%x;', '&#X%06x;'] for num, char in zip([65, 97, 34, 38, 0x2603, 0x101234], ['A', 'a', '"', '&', '\u2603', '\U00101234']): for s in formats: check(s % num, char) for end in [' ', 'X']: check((s+end) % num, char+end) # check invalid code points for cp in [0xD800, 0xDB00, 0xDC00, 0xDFFF, 0x110000]: check_num(cp, '\uFFFD') # check more invalid code points for cp in [0x1, 0xb, 0xe, 0x7f, 0xfffe, 0xffff, 0x10fffe, 0x10ffff]: check_num(cp, '') # check invalid numbers for num, ch in zip([0x0d, 0x80, 0x95, 0x9d], '\r\u20ac\u2022\x9d'): check_num(num, ch) # check small numbers check_num(0, '\uFFFD') check_num(9, '\t') # check a big number check_num(1000000000000000000, '\uFFFD') # check that multiple trailing semicolons are handled correctly for e in ['";', '";', '";', '";']: check(e, '";') # check that semicolons in the middle don't create problems for e in ['"quot;', '"quot;', '"quot;', '"quot;']: check(e, '"quot;') # check triple adjacent charrefs for e in ['"', '"', '"', '"']: check(e*3, '"""') check((e+';')*3, '"""') # check that the case is respected for e in ['&', '&', '&', '&']: check(e, '&') for e in ['&Amp', '&Amp;']: check(e, e) # check that non-existent named entities are returned unchanged check('&svadilfari;', '&svadilfari;') # the following examples are in the html5 specs check('¬it', 'Β¬it') check('¬it;', 'Β¬it;') check('¬in', 'Β¬in') check('∉', 'β') # a similar example with a long name check('¬ReallyAnExistingNamedCharacterReference;', 'Β¬ReallyAnExistingNamedCharacterReference;') # longest valid name check('∳', 'β³') # check a charref that maps to two unicode chars check('∾̳', '\u223E\u0333') check('&acE', '&acE') # see #12888 check('{ ' * 1050, '{ ' * 1050) # see #15156 check('ÉricÉric&alphacentauriαcentauri', 'ΓricΓric&alphacentauriΞ±centauri') check('&co;', '&co;') if __name__ == '__main__': unittest.main()
Upload File
Create Folder