Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix closes issue12581 - Increase the urllib.parse test coverage. Patch by ↵ | Senthil Kumaran | 2011-07-23 | 1 | -2/+76 |
| | | | | Petter Haggholm. | ||||
* | type check AST strings and identifiers | Benjamin Peterson | 2011-07-22 | 1 | -0/+14 |
| | | | | This is related to a21829180423 as well as #12609 and #12610. | ||||
* | Issue #12587: Correct faulty test file and reference in test_tokenize. | Ned Deily | 2011-07-19 | 2 | -2/+2 |
| | | | | (Patch by Robert Xiao) | ||||
* | #7484: no more <> around addresses in VRFY or EXPN | R David Murray | 2011-07-19 | 1 | -9/+24 |
| | | | | | | | | | The RFC doesn't say that they are allowed; apparently many mailers accept them, but not postfix. Contributions to this patch were made by Felipe Cruz and Catalin Iacob. The changeset also adds additional indirect tests for quoteaddr (null address and IDNA-encoded address). | ||||
* | Closes #12579. Positional fields with str.format_map() now raise a ↵ | Eric V. Smith | 2011-07-18 | 1 | -0/+5 |
| | | | | ValueError instead of SystemError. | ||||
* | Use test.script_helper in test_pydoc | Antoine Pitrou | 2011-07-15 | 1 | -11/+13 |
| | |||||
* | test_pydoc needs to cleanup after itself | Antoine Pitrou | 2011-07-15 | 1 | -13/+16 |
| | |||||
* | Try harder to reap dangling threads in test.support.reap_threads(). | Antoine Pitrou | 2011-07-15 | 1 | -6/+13 |
| | |||||
* | Issue #12573: Add resource checks for dangling Thread and Process objects. | Antoine Pitrou | 2011-07-15 | 1 | -1/+36 |
| | |||||
* | Merge | Antoine Pitrou | 2011-07-15 | 1 | -0/+8 |
|\ | |||||
| * | Issue #11603: Fix a crash when __str__ is rebound as __repr__. | Antoine Pitrou | 2011-07-15 | 1 | -0/+8 |
| |\ | | | | | | | | | | Patch by Andreas Stührk. | ||||
| | * | Issue #11603: Fix a crash when __str__ is rebound as __repr__. | Antoine Pitrou | 2011-07-15 | 1 | -0/+8 |
| | | | | | | | | | | | | Patch by Andreas Stührk. | ||||
* | | | merge heads | Benjamin Peterson | 2011-07-15 | 1 | -9/+13 |
|\ \ \ | |/ / | |||||
| * | | Make sure to reap worker threads and processes at the end of ↵ | Antoine Pitrou | 2011-07-15 | 1 | -9/+13 |
| | | | | | | | | | | | | test_concurrent_futures | ||||
* | | | catch nasty exception classes with __new__ that doesn't return a exception ↵ | Benjamin Peterson | 2011-07-15 | 1 | -0/+9 |
|/ / | | | | | | | | | | | (closes #11627) Patch from Andreas Stührk. | ||||
* | | this should be an identity test | Benjamin Peterson | 2011-07-14 | 1 | -1/+1 |
| | | |||||
* | | Issue #12250: test_socketserver uses a timeout of 60 seconds instead of 20 | Victor Stinner | 2011-07-14 | 1 | -2/+1 |
| | | | | | | | | | | test_shutdown() may fail on very slow buildbots like FreeBSD 6.4 just because of the arbitrary timeout. | ||||
* | | Restore the global state of the log vars, so that test_cgi can be run twice ↵ | Ezio Melotti | 2011-07-14 | 1 | -1/+7 |
| | | | | | | | | without failures. | ||||
* | | Issue #12549: Correct test_platform to not fail when OS X returns 'x86_64' | Ned Deily | 2011-07-13 | 1 | -1/+1 |
| | | | | | | | | | | as the processor type on some Mac systems. Also fix NameError in fallback _mac_ver_gestalt function. And remove out-of-date URL in docs. | ||||
* | | Issue #12149: Update the method cache after a type's dictionnary gets | Antoine Pitrou | 2011-07-12 | 1 | -1/+18 |
| | | | | | | | | | | | | | | | | | | cleared by the garbage collector. This fixes a segfault when an instance and its type get caught in a reference cycle, and the instance's deallocator calls one of the methods on the type (e.g. when subclassing IOBase). Diagnosis and patch by Davide Rizzo. | ||||
* | | Skip network tests when getaddrinfo() returns EAI_AGAIN, meaning a temporary | Antoine Pitrou | 2011-07-09 | 1 | -0/+1 |
| | | | | | | | | | | | | failure in name resolution. Should fix a buildbot failure. | ||||
* | | Avoid failing in test_robotparser when mueblesmoraleda.com is flaky and | Antoine Pitrou | 2011-07-08 | 1 | -2/+17 |
| | | | | | | | | | | an overzealous DNS service (e.g. OpenDNS) redirects to a placeholder Web site. | ||||
* | | Avoid failing in test_urllibnet.test_bad_address when some overzealous | Antoine Pitrou | 2011-07-08 | 1 | -0/+8 |
| | | | | | | | | | | DNS service (e.g. OpenDNS) resolves a non-existent domain name. The test is now skipped instead. | ||||
* | | Issue #12440: When testing whether some bits in SSLContext.options can be | Antoine Pitrou | 2011-07-08 | 1 | -1/+1 |
| | | | | | | | | | | reset, check the version of the OpenSSL headers Python was compiled against, rather than the runtime version of the OpenSSL library. | ||||
* | | Issue #12493: skip test_communicate_eintr() if signal.SIGALRM is missing | Victor Stinner | 2011-07-05 | 1 | -0/+2 |
| | | |||||
* | | Issue #12493: subprocess: communicate() handles EINTR | Victor Stinner | 2011-07-05 | 1 | -0/+16 |
| | | | | | | | | | | subprocess.Popen.communicate() now also handles EINTR errors if the process has only one pipe. | ||||
* | | Issue #12497: Install test/data to prevent failures of the various codecmaps | Ned Deily | 2011-07-05 | 1 | -1/+1 |
| | | | | | | | | tests. | ||||
* | | Issue #12469: Run "wakeup" signal tests in subprocess to run the test in a | Victor Stinner | 2011-07-04 | 1 | -37/+68 |
| | | | | | | | | | | fresh process with only one thread and to not change signal handling of the parent process. | ||||
* | | Issue #12429: Skip interrupted write tests on FreeBSD <= 7 | Victor Stinner | 2011-07-04 | 1 | -0/+2 |
| | | | | | | | | On FreeBSD, the SIGALRM signal is sometimes received by the reader thread. | ||||
* | | Issue #8716: Avoid crashes caused by Aqua Tk on OSX when attempting to run | Ned Deily | 2011-07-04 | 2 | -8/+8 |
| | | | | | | | | | | test_tk or test_ttk_guionly under a username that is not currently logged in to the console windowserver (as may be the case under buildbot or ssh). | ||||
* | | Fix closes issue12471 - wrong TypeError message when '%i' format spec was used. | Senthil Kumaran | 2011-07-04 | 1 | -0/+1 |
| | | |||||
* | | Fix closes issue issue12470 - check for utime for the skipUnless condition. | Senthil Kumaran | 2011-07-04 | 1 | -1/+1 |
| | | |||||
* | | Issue #12467: warnings: fix a race condition if a warning is emitted at | Victor Stinner | 2011-07-04 | 1 | -0/+12 |
| | | | | | | | | shutdown, if globals()['__file__'] is None. | ||||
* | | Issue #12451: runpy: run_path() now opens the Python script in binary mode, | Victor Stinner | 2011-07-03 | 1 | -0/+10 |
| | | | | | | | | | | instead of text mode using the locale encoding, to support other encodings than UTF-8 (scripts using the coding cookie). | ||||
* | | never retain a generator's caller's exception state on the generator after a ↵ | Benjamin Peterson | 2011-07-03 | 1 | -0/+12 |
| | | | | | | | | | | | | | | yield/return This requires some trickery to properly save the exception state if the generator creates its own exception state. | ||||
* | | merge heads | Benjamin Peterson | 2011-07-03 | 2 | -1/+134 |
|\ \ | |||||
| * | | #12147: make send_message correctly handle Sender and Resent- headers. | R David Murray | 2011-07-03 | 1 | -1/+110 |
| | | | | | | | | | | | | | | | Original patch by Nicolas Estibals. My tweaks to the patch were mostly style/cosmetic, and adding more tests. | ||||
| * | | Closes #12291: Fixed bug which was found when doing multiple loads from one ↵ | Vinay Sajip | 2011-07-02 | 1 | -0/+24 |
| | | | | | | | | | | | | stream. | ||||
* | | | restore a generator's caller's exception state both on yield and (last) return | Benjamin Peterson | 2011-07-03 | 1 | -0/+15 |
|/ / | | | | | | | | | | | This prevents generator exception state from leaking into the caller. Closes #12475. | ||||
* | | Merge issue #12352: Fix a deadlock in multiprocessing.Heap when a block is | Charles-François Natali | 2011-07-02 | 1 | -0/+24 |
|\ \ | |/ | | | | | freed by the garbage collector while the Heap lock is held. | ||||
| * | Issue #12352: Fix a deadlock in multiprocessing.Heap when a block is freed by | Charles-François Natali | 2011-07-02 | 1 | -0/+24 |
| | | | | | | | | the garbage collector while the Heap lock is held. | ||||
* | | #11873: another try at fixing the regex, courtesy of Victor Stinner | R David Murray | 2011-07-01 | 1 | -1/+1 |
| | | |||||
* | | #11873: fix test regex so it covers windows os.sep as well. | R David Murray | 2011-07-01 | 1 | -1/+1 |
| | | |||||
* | | Issue #12363: increase the timeout of siginterrupt() tests | Victor Stinner | 2011-07-01 | 1 | -5/+5 |
| | | | | | | | | | | | | | | | | Move also the "ready" trigger after the installation of the signal handler and the call to siginterrupt(). Use a timeout of 5 seconds instead of 3. Two seconds are supposed to be enough, but some of our buildbots are really slow (especially the FreeBSD 6 VM). | ||||
* | | Issue #12363: improve siginterrupt() tests | Victor Stinner | 2011-07-01 | 1 | -89/+86 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Backport commits 968b9ff9a059 and aff0a7b0cb12 from the default branch to 3.2 branch. Extract of the changelog messages: "The previous tests used time.sleep() to synchronize two processes. If the host was too slow, the test could fail. The new tests only use one process, but they use a subprocess to: - have only one thread - have a timeout on the blocking read (select cannot be used in the test, select always fail with EINTR, the kernel doesn't restart it) - not touch signal handling of the parent process" and "Add a basic synchronization code between the child and the parent processes: the child writes "ready" to stdout." I replaced .communicate(timeout=3.0) by an explicit waiting loop using Popen.poll(). | ||||
* | | Issue #11870: Skip test_threading.test_2_join_in_forked_process() on platforms | Victor Stinner | 2011-07-01 | 1 | -14/+11 |
| | | | | | | | | | | | | | | with known OS bugs Share the list of platforms with known OS bugs with other tests. Patch written by Charles-François Natali. | ||||
* | | test_os: remove now useless TemporaryFileTests testcase | Victor Stinner | 2011-07-01 | 1 | -111/+6 |
| | | | | | | | | | | | | | | | | TemporaryFileTests has tests for os.tempnam() and os.tmpfile(), functions removed from Python 3. Move fdopen() tests to the FileTests testcase to test fdopen() on a file descriptor, not on a directory descriptor (which raises an error on Windows). | ||||
* | | test_os: add TemporaryFileTests to the testcase list | Victor Stinner | 2011-07-01 | 1 | -0/+1 |
| | | | | | | | | The testcase was never executed, it's now fixed. | ||||
* | | Issue #12407: Explicitly skip test_capi.EmbeddingTest under Windows. | Antoine Pitrou | 2011-06-30 | 1 | -0/+3 |
| | | |||||
* | | Issue #12451: Open files in binary mode in some tests when the text file is not | Victor Stinner | 2011-06-30 | 5 | -18/+16 |
| | | | | | | | | | | | | needed. Remove also an unused variable (blank) in test_threading. |