- 15 Jun, 2018 2 commits
-
-
Andrés Delfino authored
'expresson list' refers to the grammar term 'expression_list' in the subscription production.. (cherry picked from commit 4fddd4e4) Co-authored-by:
Andrés Delfino <adelfino@gmail.com>
-
Xiang Zhang authored
Hangul composition check boundaries are wrong for the second character ([0x1161, 0x1176) instead of [0x1161, 0x1176]) and third character ((0x11A7, 0x11C3) instead of [0x11A7, 0x11C3]).. (cherry picked from commit d134809c) Co-authored-by:
Wonsup Yoon <pusnow@me.com>
-
- 13 Jun, 2018 2 commits
-
-
Xiang Zhang authored
string.Formatter auto-numbering feature was added in 3.4 and not available in 2.7. Make the documentation unambiguous.
-
Andrés Delfino authored
-
- 11 Jun, 2018 1 commit
-
-
Ned Deily authored
-
- 10 Jun, 2018 1 commit
-
-
Mariatta authored
(cherry picked from commit d689f976) Co-authored-by:
Andrés Delfino <adelfino@gmail.com>
-
- 09 Jun, 2018 5 commits
-
-
Miss Islington (bot) authored
(cherry picked from commit 0aa17ee6) Co-authored-by:
Ammar Askar <ammar_askar@hotmail.com>
-
Zachary Ware authored
We can't just skip the test if docutils is available, but pygments is not because the purpose of the test was testing a bug in _check_rst_data(). (cherry-picked from b5bb404c)
-
Victor Stinner authored
If tests are re-run, use "xxx then yyy" result format (ex: "FAILURE then SUCCESS") to show that some failing tests have been re-run. Add also test_regrtest.test_rerun_fail() test. (cherry picked from commit c45fc767)
-
Miss Islington (bot) authored
- bugfix and test for fragile metavar handling in argparse (see bpo-24089, bpo-14046, bpo-25058, bpo-11874) - also fixes some incorrect tests that did not make 1-element tuples correctly (cherry picked from commit 66f02aa3) Co-authored-by:
wim glenn <wim.glenn@gmail.com>
-
Mayank Singhal authored
-
- 08 Jun, 2018 1 commit
-
-
Serhiy Storchaka authored
testModeStrings and testTruncateOnWindows were depended on a file leaked in other tests. Also improve cleaning up after tests. (cherry picked from commit c2745d2d)
-
- 06 Jun, 2018 6 commits
-
-
Victor Stinner authored
test_io hangs with --huntrleaks: exclude the test in regrtest.
-
Victor Stinner authored
Substract one because listdir() opens internally a file descriptor to list the content of the /proc/self/fd/ directory. Add test_support.test_fd_count(). Move also MAXFD code before msvcrt.CrtSetReportMode(), to make sure that the report mode is always restored on failure. (cherry picked from commit 492d6424)
-
Victor Stinner authored
bpo-19418, bpo-33781: Fix the following warnings on Windows: Modules\audioop.c(28): warning C4146: unary minus operator applied to unsigned type, result still unsigned Modules\audioop.c(396): warning C4146: unary minus operator applied to unsigned type, result still unsigned
-
Victor Stinner authored
Move the floor() call into fbound() to call floor() on a double rather than an int. The change should enhance the rounding. Document also (int)double rounding mode. (cherry picked from commit 45e4efba)
-
Victor Stinner authored
Fix the following compiler warning on Windows: ..\PC\_subprocess.c(384): warning C4018: '>' : signed/unsigned mismatch
-
Benjamin Peterson authored
(cherry picked from commit b8c0845f)
-
- 05 Jun, 2018 4 commits
-
-
Timo Furrer authored
-
Serhiy Storchaka authored
Raise TypeError instead of SystemError for unsupported operations. (cherry picked from commit e9e39760) Co-authored-by:
Zackery Spytz <zspytz@gmail.com>
-
Victor Stinner authored
Python 2.7 doesn't have FileNotFoundError exception: use OSError and errno.ENOENT.
-
Victor Stinner authored
"python -m test --huntrleaks ..." now also checks for leak of file descriptors. Co-Authored-By:
Richard Oudkerk <shibturn@gmail.com>
-
- 04 Jun, 2018 9 commits
-
-
Victor Stinner authored
* test_tempfile.test_no_leak_fd() mocks os.close() but it doesn't call the original os.close() method and so leaks an open file descriptor. Fix the test by calling the original os.close() function. * test_posix.test_fdopen_directory(): close the directory file descriptor when the test completes.
-
Victor Stinner authored
* Add support.wait_threads_exit(): context manager looping at exit until the number of threads decreases to its original number. * Add some missing thread.join() * test_asyncore.test_send(): call explicitly t.join() because the cleanup function is only called outside the test method, whereas the method has a @test_support.reap_threads decorator * test_hashlib: replace threading.Event with thread.join() * test_thread: * Use wait_threads_exit() context manager * Replace test_support with support * test_forkinthread(): check child process exit status in the main thread to better handle error.
-
Victor Stinner authored
Hide "recursedown('@test_9296_tmp')" message.
-
Victor Stinner authored
Backport manually regrtest enhancements from master: * No longer clear filters, like --match, to re-run failed tests in verbose mode (-w option). * Tests result: always indicate if tests have been interrupted. * Enhance tests summary * After failing tests are re-run, display again the summary. * Add environment_altered to test.support, but it's currently unused * regrtest: count also ENV_CHANGED as failures * regrtest: Enhance format_duration() * Replace test_support with support
-
Miss Islington (bot) authored
(cherry picked from commit f7745e1d) Co-authored-by:
Tobias Kunze <r@rixx.de>
-
Miss Islington (bot) authored
The bytes parameter uses big endian. (cherry picked from commit b75ec085) Co-authored-by:
Farhaan Bukhsh <farhaan.bukhsh@gmail.com>
-
Ned Deily authored
* Prevent spurious message if taking a shortcut * Fix YAML style * Disable largefile tests
-
Serhiy Storchaka authored
It depended on a global variable set by other tests.. (cherry picked from commit 7cfd8c6a) Co-authored-by:
Serhiy Storchaka <storchaka@gmail.com>
-
Serhiy Storchaka authored
(cherry picked from commit e36837cb) Co-authored-by:
Serhiy Storchaka <storchaka@gmail.com>
-
- 03 Jun, 2018 2 commits
-
-
Antoine Pitrou authored
(cherry picked from commit e905c844)
-
Serhiy Storchaka authored
Separate tests leaked files or were depended on files leaked in other tests. (cherry picked from commit 027f95c7)
-
- 02 Jun, 2018 1 commit
-
-
Miss Islington (bot) authored
`writerows()` takes an iterable. (cherry picked from commit a801cf16) Co-authored-by:
Zackery Spytz <zspytz@gmail.com>
-
- 01 Jun, 2018 3 commits
-
-
Victor Stinner authored
Use also support.SOCK_MAX_SIZE, not only support.PIPE_MAX_SIZE, to get the size for a blocking send into a multiprocessing pipe. Replace also test_support with support.
-
Victor Stinner authored
* bpo-31479: Always reset the signal alarm in tests Use "try: ... finally: signal.signal(0)" pattern to make sure that tests don't "leak" a pending fatal signal alarm. * Move two more alarm() calls into the try block Fix also typo: replace signal.signal(0) with signal.alarm(0) * Move another signal.alarm() into the try block (cherry picked from commit 9abee722)
-
Victor Stinner authored
* bpo-33717: pythoninfo: add CC --version (GH-7290)
-
- 31 May, 2018 3 commits
-
-
T. Wouters authored
Python 3.6, although I've seen the same crash in 3.6 (when involving extension types and more complicated threading setups).
-
Serhiy Storchaka authored
(cherry picked from commit a5c42284)
-
Victor Stinner authored
Fix test_multiprocessing.test_ignore(): use support.PIPE_MAX_SIZE to make sure that send_bytes() blocks.
-