cpython/Lib/test
Victor Stinner a929335961 Issue #8407, issue #11859: Add signal.pthread_sigmask() function to fetch
and/or change the signal mask of the calling thread.

Fix also tests of test_io using threads and an alarm: use pthread_sigmask() to
ensure that the SIGALRM signal is received by the main thread.

Original patch written by Jean-Paul Calderone.
2011-04-30 15:21:58 +02:00
..
capath
crashers
data
decimaltestdata
encoded_modules
json_tests Merge with 3.1. 2011-04-13 07:18:24 +03:00
leakers
sndhdrdata
subprocessdata
test_email #11731: simplify/enhance parser/generator API by introducing policy objects. 2011-04-18 13:59:37 -04:00
tracedmodules Remove obsolete/duplicate docstring 2011-04-24 17:10:30 +02:00
xmltestdata
185test.db
Sine-1000Hz-300ms.aif
__init__.py
__main__.py
audiotest.au
autotest.py
bad_coding.py
bad_coding2.py
badcert.pem
badkey.pem
badsyntax_3131.py
badsyntax_future3.py
badsyntax_future4.py
badsyntax_future5.py
badsyntax_future6.py
badsyntax_future7.py
badsyntax_future8.py
badsyntax_future9.py
badsyntax_pep3120.py
buffer_tests.py
cfgparser.1
cfgparser.2
cfgparser.3
check_soundcard.vbs
cjkencodings_test.py
cmath_testcases.txt
curses_tests.py
datetimetester.py Issue #11576: Fixed timedelta subtraction glitch on big timedelta values 2011-04-05 20:07:38 -04:00
dis_module.py
doctest_aliases.py
double_const.py
empty.vbs
exception_hierarchy.txt
floating_points.txt
fork_wait.py
formatfloat_testcases.txt
future_test1.py
future_test2.py
gdb_sample.py
https_svn_python_org_root.pem
ieee754.txt
inspect_fodder.py
inspect_fodder2.py
keycert.pem
keycert2.pem
list_tests.py
lock_tests.py Issue #11915: threading.RLock()._release_save() raises a RuntimeError if the 2011-04-24 23:41:33 +02:00
make_ssl_certs.py
mapping_tests.py
math_testcases.txt
mock_socket.py
nullcert.pem
outstanding_bugs.py
pickletester.py
profilee.py
pstats.pck
pyclbr_input.py
pydoc_mod.py
pydocfodder.py
pystone.py
randv2_32.pck
randv2_64.pck
randv3.pck
re_tests.py
regex_tests.py
regrtest.py Implement #11832. Add an option to start regrtest and wait for input 2011-04-28 17:45:17 -05:00
relimport.py
reperf.py
sample_doctest.py
script_helper.py Issue #11393: Add the new faulthandler module 2011-03-31 01:31:06 +02:00
seq_tests.py
sgml_input.html
sha256.pem
sortperf.py
ssl_cert.pem
ssl_key.pem
ssl_servers.py
string_tests.py Use non-deprecated method name. 2011-04-20 21:56:21 +03:00
support.py Add WSANO_DATA to possible errors triggered by getaddrinfo (Windows) 2011-04-29 00:49:03 +02:00
svn_python_org_https_cert.pem
test___all__.py
test___future__.py
test__locale.py
test_abc.py
test_abstract_numbers.py
test_aifc.py
test_argparse.py Issue #9347: Fix formatting for tuples in argparse type= error messages. 2011-04-04 02:10:40 +02:00
test_array.py
test_ast.py
test_asynchat.py
test_asyncore.py
test_atexit.py
test_audioop.py
test_augassign.py
test_base64.py
test_bigaddrspace.py
test_bigmem.py
test_binascii.py
test_binhex.py
test_binop.py
test_bisect.py
test_bool.py
test_bufio.py
test_builtin.py
test_bytes.py #6780: merge with 3.2. 2011-04-26 06:45:24 +03:00
test_bz2.py Fix 64-bit safety issue in BZ2Compressor and BZ2Decompressor. 2011-04-12 23:02:42 +02:00
test_calendar.py
test_call.py
test_capi.py Issue #10914: Add a minimal embedding test to test_capi. 2011-04-25 21:21:07 +02:00
test_cgi.py
test_charmapcodec.py
test_class.py
test_cmath.py
test_cmd.py
test_cmd_line.py
test_cmd_line_script.py
test_code.py
test_codeccallbacks.py
test_codecencodings_cn.py
test_codecencodings_hk.py
test_codecencodings_jp.py
test_codecencodings_kr.py
test_codecencodings_tw.py
test_codecmaps_cn.py
test_codecmaps_hk.py
test_codecmaps_jp.py
test_codecmaps_kr.py
test_codecmaps_tw.py
test_codecs.py
test_codeop.py
test_coding.py
test_collections.py TestChainMap was not previously used. Minor corrections applied. 2011-04-29 11:35:03 +02:00
test_colorsys.py
test_compare.py
test_compile.py
test_compileall.py
test_complex.py
test_concurrent_futures.py Issue #11777: Executor.map does not submit futures until iter.next() is called 2011-04-08 08:19:33 +10:00
test_configparser.py Merged minor cleanups from 3.2. 2011-04-29 16:17:51 +02:00
test_contains.py
test_contextlib.py
test_copy.py
test_copyreg.py
test_cprofile.py
test_crashers.py
test_crypt.py
test_csv.py
test_ctypes.py
test_curses.py
test_datetime.py
test_dbm.py
test_dbm_dumb.py
test_dbm_gnu.py
test_dbm_ndbm.py
test_decimal.py
test_decorators.py
test_defaultdict.py
test_deque.py
test_descr.py
test_descrtut.py
test_dict.py
test_dictcomps.py
test_dictviews.py
test_difflib.py Issue 11747: Fix output format for context diffs. 2011-04-12 15:25:30 -07:00
test_difflib_expect.html
test_dis.py
test_distutils.py
test_doctest.py
test_doctest.txt
test_doctest2.py
test_doctest2.txt
test_doctest3.txt
test_doctest4.txt
test_docxmlrpc.py
test_dummy_thread.py
test_dummy_threading.py
test_dynamic.py
test_enumerate.py
test_eof.py
test_epoll.py
test_errno.py
test_exception_variations.py
test_exceptions.py
test_extcall.py
test_faulthandler.py faulthandler: dump_tracebacks_later() displays also the timeout 2011-04-08 13:39:59 +02:00
test_fcntl.py
test_file.py
test_filecmp.py
test_fileinput.py
test_fileio.py
test_float.py
test_flufl.py
test_fnmatch.py
test_fork1.py
test_format.py
test_fractions.py
test_frozen.py
test_ftplib.py Issue #11811: Factor out detection of IPv6 support on the current host 2011-04-28 19:18:10 +02:00
test_funcattrs.py
test_functools.py Issue #11707: Fast C version of functools.cmp_to_key() 2011-04-05 02:33:54 -07:00
test_future.py
test_future3.py
test_future4.py
test_future5.py
test_gc.py Issue #11761: make tests for gc.get_count() less fragile 2011-04-04 19:52:56 +02:00
test_gdb.py
test_generators.py
test_genericpath.py
test_genexps.py
test_getargs2.py
test_getopt.py
test_gettext.py
test_glob.py
test_global.py
test_grammar.py
test_grp.py
test_gzip.py Issue #10791: Implement missing method GzipFile.read1(), allowing GzipFile 2011-04-04 21:00:37 +02:00
test_hash.py
test_hashlib.py
test_heapq.py Issue 3051: make pure python code pass the same tests as the C version. 2011-04-13 11:49:57 -07:00
test_hmac.py
test_html.py
test_htmlparser.py #7311: fix html.parser to accept non-ASCII attribute values. 2011-04-07 22:03:31 +03:00
test_http_cookiejar.py
test_http_cookies.py
test_httplib.py
test_httpservers.py
test_imaplib.py
test_imp.py Issue #11919: try to fix test_imp failure on some buildbots. 2011-04-25 21:46:04 +02:00
test_import.py
test_importhooks.py
test_importlib.py
test_index.py
test_inspect.py #11938: Fix duplicated test name in test_inspect. Patch by Andreas Stührk. 2011-04-28 00:59:29 +03:00
test_int.py
test_int_literal.py
test_io.py Issue #8407, issue #11859: Add signal.pthread_sigmask() function to fetch 2011-04-30 15:21:58 +02:00
test_ioctl.py
test_isinstance.py
test_iter.py
test_iterlen.py
test_itertools.py Merge 3.2 2011-03-30 11:32:06 +00:00
test_json.py
test_keywordonlyarg.py
test_kqueue.py
test_largefile.py
test_lib2to3.py
test_linecache.py
test_list.py
test_listcomps.py
test_locale.py
test_logging.py Improved test_logging coverage. 2011-04-28 12:04:58 +01:00
test_long.py
test_longexp.py
test_macpath.py
test_mailbox.py
test_marshal.py
test_math.py
test_memoryio.py
test_memoryview.py
test_metaclass.py
test_mimetypes.py
test_minidom.py
test_mmap.py
test_module.py
test_modulefinder.py
test_msilib.py Closes #11696: Fix ID generation in msilib. 2011-03-27 21:05:51 +02:00
test_multibytecodec.py
test_multibytecodec_support.py
test_multiprocessing.py Issue #11790: Fix sporadic failures in test_multiprocessing.WithProcessesTestCondition. 2011-04-16 21:02:38 +02:00
test_mutants.py
test_netrc.py
test_nis.py
test_nntplib.py
test_normalization.py
test_ntpath.py
test_numeric_tower.py
test_opcodes.py
test_openpty.py
test_operator.py
test_optparse.py
test_os.py Issue #11223: Replace threading._info() by sys.thread_info 2011-04-30 14:53:09 +02:00
test_ossaudiodev.py
test_osx_env.py
test_parser.py
test_pdb.py
test_peepholer.py #5057: Merge with 3.2. 2011-04-15 16:52:35 +03:00
test_pep247.py
test_pep263.py
test_pep277.py
test_pep292.py
test_pep352.py
test_pep3120.py
test_pep3131.py
test_pickle.py
test_pickletools.py
test_pipes.py
test_pkg.py
test_pkgimport.py
test_pkgutil.py
test_platform.py
test_plistlib.py
test_poll.py
test_popen.py
test_poplib.py
test_posix.py
test_posixpath.py
test_pow.py
test_pprint.py
test_print.py
test_profile.py
test_property.py
test_pstats.py
test_pty.py
test_pulldom.py
test_pwd.py
test_pyclbr.py
test_pydoc.py #11926: merge with 3.2. 2011-04-28 07:55:29 +03:00
test_pyexpat.py
test_queue.py
test_quopri.py
test_raise.py
test_random.py
test_range.py #11845: Fix typo in rangeobject.c that caused a crash in compute_slice_indices. Patch by Daniel Urban. 2011-04-15 08:15:40 +03:00
test_re.py #2650: re.escape() no longer escapes the "_". 2011-04-10 12:59:16 +03:00
test_readline.py
test_reprlib.py
test_resource.py
test_richcmp.py
test_rlcompleter.py
test_robotparser.py
test_runpy.py
test_sax.py
test_sched.py
test_scope.py
test_select.py Issue #11757: select.select() now raises ValueError when a negative timeout 2011-04-09 23:49:58 +02:00
test_set.py
test_setcomps.py
test_shelve.py
test_shlex.py
test_shutil.py
test_signal.py Issue #8407, issue #11859: Add signal.pthread_sigmask() function to fetch 2011-04-30 15:21:58 +02:00
test_site.py
test_slice.py
test_smtpd.py
test_smtplib.py
test_smtpnet.py
test_sndhdr.py
test_socket.py Issue #11811: Factor out detection of IPv6 support on the current host 2011-04-28 19:18:10 +02:00
test_socketserver.py
test_sort.py
test_sqlite.py
test_ssl.py Fix whitespace 2011-04-28 19:24:46 +02:00
test_startfile.py Fix sporadic failure in test_startfile. 2011-04-19 01:38:47 +02:00
test_strftime.py
test_string.py
test_stringprep.py
test_strlit.py
test_strptime.py
test_strtod.py
test_struct.py
test_structmembers.py
test_structseq.py
test_subprocess.py Merge with 3.2 2011-04-05 16:07:49 +02:00
test_sunau.py
test_sundry.py
test_super.py
test_symtable.py
test_syntax.py merge 3.1 2011-04-12 18:34:30 -05:00
test_sys.py Issue #11223: Replace threading._info() by sys.thread_info 2011-04-30 14:53:09 +02:00
test_sys_setprofile.py
test_sys_settrace.py
test_sysconfig.py
test_syslog.py
test_tarfile.py Wrap the correct test with the skip decorator for the issue10761. 2011-04-30 06:12:25 +08:00
test_tcl.py
test_telnetlib.py
test_tempfile.py
test_textwrap.py
test_thread.py
test_threaded_import.py
test_threadedtempfile.py
test_threading.py Issue #11223: Replace threading._info() by sys.thread_info 2011-04-30 14:53:09 +02:00
test_threading_local.py
test_threadsignals.py Issue #11223: Replace threading._info() by sys.thread_info 2011-04-30 14:53:09 +02:00
test_time.py Merge from 3.1 2011-04-06 14:11:09 +08:00
test_timeit.py
test_timeout.py
test_tk.py
test_tokenize.py
test_trace.py
test_traceback.py
test_ttk_guionly.py
test_ttk_textonly.py
test_tuple.py
test_typechecks.py
test_types.py
test_ucn.py
test_unary.py
test_unicode.py #6780: merge with 3.2. 2011-04-26 06:45:24 +03:00
test_unicode_file.py
test_unicodedata.py
test_unittest.py #11763: don't use difflib in TestCase.assertMultiLineEqual if the strings are too long. 2011-04-27 10:17:34 +03:00
test_univnewlines.py
test_unpack.py
test_unpack_ex.py
test_urllib.py merge from 3.2. 2011-04-14 13:20:41 +08:00
test_urllib2.py merge from 3.2 2011-04-13 07:24:32 +08:00
test_urllib2_localnet.py
test_urllib2net.py merge from 3.1 2011-04-13 07:22:29 +08:00
test_urllib_response.py
test_urllibnet.py
test_urlparse.py merge from 3.1 2011-04-15 18:21:26 +08:00
test_userdict.py
test_userlist.py
test_userstring.py
test_uu.py
test_uuid.py
test_wait3.py
test_wait4.py
test_warnings.py
test_wave.py
test_weakref.py
test_weakset.py
test_winreg.py
test_winsound.py
test_with.py
test_wsgiref.py
test_xdrlib.py Issue #9696: Fix exception incorrectly raised by xdrlib.Packer.pack_int when trying to pack a negative (in-range) integer. 2011-03-27 16:25:40 +01:00
test_xml_etree.py
test_xml_etree_c.py
test_xmlrpc.py
test_xmlrpc_net.py
test_zipfile.py
test_zipfile64.py
test_zipimport.py
test_zipimport_support.py
test_zlib.py
testcodec.py
testtar.tar
tf_inherit_check.py
threaded_import_hangers.py
time_hashlib.py
tokenize_tests-latin1-coding-cookie-and-utf8-bom-sig.txt
tokenize_tests-no-coding-cookie-and-utf8-bom-sig-only.txt
tokenize_tests-utf8-coding-cookie-and-no-utf8-bom-sig.txt
tokenize_tests-utf8-coding-cookie-and-utf8-bom-sig.txt
tokenize_tests.txt
warning_tests.py
win_console_handler.py
xmltests.py
zip_cp437_header.zip
zipdir.zip