summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* Merged revisions 78281 via svnmerge fromMark Dickinson2010-02-211-0/+6
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78281 | mark.dickinson | 2010-02-21 13:37:53 +0000 (Sun, 21 Feb 2010) | 1 line Issue #7384: skip test_curses on FreeBSD, in order to allow other buildbot tests to complete. ........
* Merged revisions 78268 via svnmerge fromSenthil Kumaran2010-02-201-1/+5
| | | | svn+ssh://pythondev@svn.python.org/python/trunk
* Merged revisions 78249 via svnmerge fromEzio Melotti2010-02-206-42/+25
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78249 | ezio.melotti | 2010-02-20 11:40:07 +0200 (Sat, 20 Feb 2010) | 1 line Remove e assertIs definitions and use correct assert* methods. ........
* Check that sys.path_hooks and __import__ are not changed by tests.Brett Cannon2010-02-191-1/+12
|
* urllib.urlparse -> urllib.parse.urlparseEzio Melotti2010-02-191-5/+5
|
* Merged revisions 78234 via svnmerge fromSenthil Kumaran2010-02-191-1/+8
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78234 | senthil.kumaran | 2010-02-19 13:02:48 +0530 (Fri, 19 Feb 2010) | 2 lines Fix for Issue7904. urlparse.urlsplit to handle schemes in the way defined by RFC3986 ........
* Merged revisions 78232 via svnmerge fromFred Drake2010-02-191-20/+57
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78232 | fred.drake | 2010-02-19 00:24:30 -0500 (Fri, 19 Feb 2010) | 3 lines - apply patch from issue 7005 - add corresponding documentation ........
* Merged revisions 78217-78218 via svnmerge fromMark Dickinson2010-02-181-0/+438
| | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78217 | mark.dickinson | 2010-02-18 14:27:02 +0000 (Thu, 18 Feb 2010) | 5 lines Issue #7633: Context method in the decimal module (with the exception of the 'canonical' and 'is_canonical' methods) now consistently accept integer arguments wherever a Decimal instance is accepted. Thanks Juan José Conti for the patch. ........ r78218 | mark.dickinson | 2010-02-18 14:45:33 +0000 (Thu, 18 Feb 2010) | 1 line Doctest fixes for decimal.py: add an integer-argument doctest for logical_invert; don't use integer literals with a leading zero. ........
* Merged revisions 78136 via svnmerge fromEzio Melotti2010-02-183-27/+93
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78136 | ezio.melotti | 2010-02-10 23:40:33 +0200 (Wed, 10 Feb 2010) | 1 line #7712: add a temp_cwd context manager to test_support and use it in regrtest to run all the tests in a temporary directory, saving the original CWD in test_support.SAVEDCWD. Thanks to Florent Xicluna who helped with the patch. ........
* Merged revisions 78207 via svnmerge fromEzio Melotti2010-02-161-0/+13
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78207 | ezio.melotti | 2010-02-17 01:26:09 +0200 (Wed, 17 Feb 2010) | 1 line #7930: fix stripid ........
* Merged revisions 78166 via svnmerge fromMark Dickinson2010-02-121-0/+3
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78166 | mark.dickinson | 2010-02-12 21:16:38 +0000 (Fri, 12 Feb 2010) | 1 line Check that 'd' isn't allowed as an exponent specifier in inputs to the float function. ........
* Merged revisions 78141-78142 via svnmerge fromR. David Murray2010-02-111-0/+13
| | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78141 | r.david.murray | 2010-02-10 20:38:42 -0500 (Wed, 10 Feb 2010) | 6 lines Issue 5754: tweak shelve doc wording to make it clearer that even when writeback=True values are written to the backing store when assigned to the shelf. Add test to confirm that this happens. Doc patch and added test by Robert Lehmann. I also fixed the cross references to the sync and close methods. ........ r78142 | r.david.murray | 2010-02-10 20:56:42 -0500 (Wed, 10 Feb 2010) | 3 lines Improve issue 7835 fix per MAL to handle the case that the module dictionary has also been cleared. ........
* Merged revisions 78132 via svnmerge fromMichael Foord2010-02-101-3/+3
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78132 | michael.foord | 2010-02-10 15:50:58 +0000 (Wed, 10 Feb 2010) | 1 line Fix for unittest tests, to be merged to py3k ........
* Merged revisions 78130 via svnmerge fromMichael Foord2010-02-101-10/+45
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78130 | michael.foord | 2010-02-10 14:25:12 +0000 (Wed, 10 Feb 2010) | 1 line Issue 7893 and Issue 7588 ........
* Merged revisions 78125 via svnmerge fromAntoine Pitrou2010-02-091-0/+20
| | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78125 | antoine.pitrou | 2010-02-09 18:08:05 +0100 (mar., 09 févr. 2010) | 7 lines Issue #2746: Don't escape ampersands and angle brackets ("&", "<", ">") in XML processing instructions and comments. These raw characters are allowed by the XML specification, and are necessary when outputting e.g. PHP code in a processing instruction. Patch by Neil Muller. ........
* Issue #6233: ElementTree failed converting unicode characters to XMLAntoine Pitrou2010-02-091-0/+11
| | | | | entities when they could't be represented in the requested output encoding. Patch by Jerry Chen.
* Merged revisions 78116 via svnmerge fromMichael Foord2010-02-081-2/+3
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78116 | michael.foord | 2010-02-08 22:41:16 +0000 (Mon, 08 Feb 2010) | 1 line Make assertMultiLineEqual the default for comparing unicode strings. ........
* Merged revisions 78091,78094,78109 via svnmerge fromEzio Melotti2010-02-081-9/+9
| | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78091 | georg.brandl | 2010-02-07 19:02:22 +0200 (Sun, 07 Feb 2010) | 1 line Rename "exc_value" attribute on assertRaises context manager to "exception". ........ r78094 | michael.foord | 2010-02-07 20:44:12 +0200 (Sun, 07 Feb 2010) | 1 line assertRaises as context manager now allows you to access exception as documented ........ r78109 | ezio.melotti | 2010-02-08 23:52:08 +0200 (Mon, 08 Feb 2010) | 1 line Fix exc_value -> exception in docstring ........
* Merged revisions 78099 via svnmerge fromMark Dickinson2010-02-071-2/+4
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78099 | mark.dickinson | 2010-02-07 20:31:10 +0000 (Sun, 07 Feb 2010) | 1 line Skip test_strtod entirely when correctly-rounded string->float isn't implemented ........
* Merged revisions 78097 via svnmerge fromRonald Oussoren2010-02-071-0/+14
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78097 | ronald.oussoren | 2010-02-07 21:18:02 +0100 (Sun, 07 Feb 2010) | 2 lines Issue 6003: ZipFile.writestr "compression_type" argument ........
* Merged revisions 78088 via svnmerge fromAntoine Pitrou2010-02-071-19/+0
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78088 | antoine.pitrou | 2010-02-07 17:56:23 +0100 (dim., 07 févr. 2010) | 4 lines Issue #7870: Remove duplicate test methods. Reported by Georg Brandl. ........
* Merged revisions 78082,78086 via svnmerge fromMark Dickinson2010-02-071-10/+6
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78082 | mark.dickinson | 2010-02-07 13:01:56 +0000 (Sun, 07 Feb 2010) | 1 line Add missing global declarations for 'overflowok'; remove 'overflowrequired', which is no longer needed. ........ r78086 | mark.dickinson | 2010-02-07 13:09:52 +0000 (Sun, 07 Feb 2010) | 1 line Actually raise on failure, instead of doing nothing. ........
* Merged revisions 78041 via svnmerge fromMark Dickinson2010-02-061-25/+24
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78041 | mark.dickinson | 2010-02-06 23:11:25 +0000 (Sat, 06 Feb 2010) | 1 line testCopysign was defined twice in test_math; combine the definitions ........
* Merged revisions 78014 via svnmerge fromR. David Murray2010-02-061-3/+5
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78014 | r.david.murray | 2010-02-05 23:27:21 -0500 (Fri, 05 Feb 2010) | 5 lines issue #7728: test_timeout was using a hardcoded port, which was causing buildbot failures. Changed to use test_support.bind_port. Patch by Florent Xicluna. ........
* Merged revisions 78010 via svnmerge fromMichael Foord2010-02-061-0/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78010 | michael.foord | 2010-02-06 00:22:26 +0000 (Sat, 06 Feb 2010) | 1 line unittest.TestLoader creates a TestSuite before calling load_tests. Issue 7799. ........
* this works correctly in py3 alreadyBenjamin Peterson2010-02-051-1/+0
|
* Merged revisions 77980 via svnmerge fromBenjamin Peterson2010-02-051-3/+20
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77980 | benjamin.peterson | 2010-02-04 19:53:27 -0600 (Thu, 04 Feb 2010) | 1 line add a test for #7853; the exception must be normalized for with ........
* Merged revisions 77956-77957 via svnmerge fromBrett Cannon2010-02-031-1/+1
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77956 | brett.cannon | 2010-02-03 14:11:54 -0800 (Wed, 03 Feb 2010) | 1 line Update a docstring to suggest using importlib.import_module instead of calling __import__ directly. ........ r77957 | brett.cannon | 2010-02-03 14:13:44 -0800 (Wed, 03 Feb 2010) | 1 line Fix a typo in a docstring introduced in r77956. ........
* Merged revisions 77712,77740-77741,77756,77886,77902,77936 via svnmerge fromBenjamin Peterson2010-02-031-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77712 | tarek.ziade | 2010-01-23 11:52:57 -0600 (Sat, 23 Jan 2010) | 1 line fixed the 64bits tests for get_platform() - mac osx ........ r77740 | benjamin.peterson | 2010-01-24 21:58:21 -0600 (Sun, 24 Jan 2010) | 1 line compare types with is not == ........ r77741 | facundo.batista | 2010-01-25 00:15:01 -0600 (Mon, 25 Jan 2010) | 3 lines Added a note about Event.is_set() syntax being new to 2.6 ........ r77756 | tarek.ziade | 2010-01-26 11:20:37 -0600 (Tue, 26 Jan 2010) | 1 line fixed bdist_msi imports and added a test module for distutils.command.bdist_msi ........ r77886 | benjamin.peterson | 2010-01-31 12:09:34 -0600 (Sun, 31 Jan 2010) | 1 line move distutils.rst to different toc ........ r77902 | andrew.kuchling | 2010-01-31 20:04:26 -0600 (Sun, 31 Jan 2010) | 1 line Add various items ........ r77936 | andrew.kuchling | 2010-02-02 20:19:14 -0600 (Tue, 02 Feb 2010) | 1 line Add various items ........
* Merged revisions ↵Benjamin Peterson2010-02-032-0/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 77484,77487,77561,77570,77593,77603,77608,77667,77702-77703,77739,77858,77887,77889 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r77484 | skip.montanaro | 2010-01-13 19:12:34 -0600 (Wed, 13 Jan 2010) | 4 lines Update PyEval_EvalFrame to PyEval_EvalFrameEx. This looks to have been done partially before. Also add a comment describing how this might have to work with different versions of the interpreter. ........ r77487 | ezio.melotti | 2010-01-14 05:34:10 -0600 (Thu, 14 Jan 2010) | 1 line Fixed typo ........ r77561 | georg.brandl | 2010-01-17 02:42:30 -0600 (Sun, 17 Jan 2010) | 1 line #7699: improve datetime docs: straightforward linking to strftime/strptime section, mark classmethods as such. ........ r77570 | georg.brandl | 2010-01-17 06:14:42 -0600 (Sun, 17 Jan 2010) | 1 line Add note about usage of STRINGLIB_EMPTY. ........ r77593 | georg.brandl | 2010-01-17 17:33:53 -0600 (Sun, 17 Jan 2010) | 1 line Fix internal reference. ........ r77603 | benjamin.peterson | 2010-01-18 17:07:56 -0600 (Mon, 18 Jan 2010) | 8 lines data descriptors do not override the class dictionary if __get__ is not defined Adjust documentation and add a test to verify this behavior. See http://mail.python.org/pipermail/python-dev/2010-January/095637.html for discussion. ........ r77608 | gregory.p.smith | 2010-01-19 02:19:03 -0600 (Tue, 19 Jan 2010) | 6 lines Do not compile stubs for the sha2 series hashes in the openssl hashlib module when the openssl version is too old to support them. That leads both compiled code bloat and to unittests attempting to test implementations that don't exist for comparison purposes on such platforms. ........ r77667 | mark.dickinson | 2010-01-21 12:32:27 -0600 (Thu, 21 Jan 2010) | 1 line Add two more test_strtod test values. ........ r77702 | georg.brandl | 2010-01-23 02:43:31 -0600 (Sat, 23 Jan 2010) | 1 line #7762: fix refcount annotation of PyUnicode_Tailmatch(). ........ r77703 | georg.brandl | 2010-01-23 02:47:54 -0600 (Sat, 23 Jan 2010) | 1 line #7725: fix referencing issue. ........ r77739 | benjamin.peterson | 2010-01-24 21:52:52 -0600 (Sun, 24 Jan 2010) | 1 line mention from_float() in error message ........ r77858 | georg.brandl | 2010-01-30 11:57:48 -0600 (Sat, 30 Jan 2010) | 1 line #7802: fix invalid example (heh). ........ r77887 | georg.brandl | 2010-01-31 12:51:49 -0600 (Sun, 31 Jan 2010) | 5 lines Fix-up ftplib documentation: move exception descriptions to toplevel, not inside a class remove attribution in "versionadded" spell and grammar check docstring of FTP_TLS ........ r77889 | michael.foord | 2010-01-31 13:59:26 -0600 (Sun, 31 Jan 2010) | 1 line Minor modification to unittest documentation. ........
* Merged revisions 77919,77921-77922 via svnmerge fromTarek Ziadé2010-02-021-1/+7
| | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77919 | tarek.ziade | 2010-02-02 23:50:23 +0100 (Tue, 02 Feb 2010) | 1 line module reorganization + missing doctests ........ r77921 | tarek.ziade | 2010-02-02 23:54:28 +0100 (Tue, 02 Feb 2010) | 1 line sysconfig.get_scheme_names now returns a sorted tuple ........ r77922 | tarek.ziade | 2010-02-02 23:55:00 +0100 (Tue, 02 Feb 2010) | 1 line fixed a typo on distutils.sysconfig. thanks arfever ........
* Merged revisions 77890 via svnmerge fromAntoine Pitrou2010-01-314-7/+33
| | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77890 | antoine.pitrou | 2010-01-31 23:26:04 +0100 (dim., 31 janv. 2010) | 7 lines - Issue #6939: Fix file I/O objects in the `io` module to keep the original file position when calling `truncate()`. It would previously change the file position to the given argument, which goes against the tradition of ftruncate() and other truncation APIs. Patch by Pascal Chambon. ........
* Merged revisions 77821 via svnmerge fromMark Dickinson2010-01-293-1/+7
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77821 | mark.dickinson | 2010-01-29 17:11:39 +0000 (Fri, 29 Jan 2010) | 3 lines Issue #7788: Fix a crash produced by deleting a list slice with huge step value. Patch by Marcin Bachry. ........
* Merged revisions 77759,77761 via svnmerge fromTarek Ziadé2010-01-291-1/+27
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77759 | tarek.ziade | 2010-01-26 22:21:54 +0100 (Tue, 26 Jan 2010) | 1 line reintroduced the names in Distutils for APIs that were relocated ........ r77761 | tarek.ziade | 2010-01-26 23:46:15 +0100 (Tue, 26 Jan 2010) | 1 line added local get_platform/set_platform APIs in distutils.sysconfig ........
* Merged revisions 77704,77752 via svnmerge fromTarek Ziadé2010-01-292-0/+222
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77704 | tarek.ziade | 2010-01-23 10:23:15 +0100 (Sat, 23 Jan 2010) | 1 line taking sysconfig out of distutils ........ r77752 | tarek.ziade | 2010-01-26 00:19:56 +0100 (Tue, 26 Jan 2010) | 1 line switched the call order so this call works without suffering from issue #7774 ........
* Merged revisions 77798 via svnmerge fromAntoine Pitrou2010-01-271-0/+84
| | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77798 | antoine.pitrou | 2010-01-27 21:59:50 +0100 (mer., 27 janv. 2010) | 8 lines Issue #7610: Reworked implementation of the internal :class:`zipfile.ZipExtFile` class used to represent files stored inside an archive. The new implementation is significantly faster and can be wrapped in a :class:`io.BufferedReader` object for more speedups. It also solves an issue where interleaved calls to `read()` and `readline()` give wrong results. Patch by Nir Aides. ........
* Merged revisions 77794 via svnmerge fromJesse Noller2010-01-271-1/+25
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77794 | jesse.noller | 2010-01-26 22:05:57 -0500 (Tue, 26 Jan 2010) | 1 line Issue #6963: Added maxtasksperchild argument to multiprocessing.Pool ........
* Merged revisions 77789 via svnmerge fromBenjamin Peterson2010-01-271-0/+6
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77789 | benjamin.peterson | 2010-01-26 20:16:42 -0600 (Tue, 26 Jan 2010) | 1 line raise a clear TypeError when trying to register a non-class ........
* Merged revisions 77784 via svnmerge fromEric Smith2010-01-271-0/+4
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77784 | eric.smith | 2010-01-26 21:06:25 -0500 (Tue, 26 Jan 2010) | 1 line Added named (but not numbered) attributes to sys.getwindowsversion() test. ........
* don't accept bytes in FileIO.write #7785Benjamin Peterson2010-01-271-1/+4
|
* Fixed test_support -> support.Eric Smith2010-01-271-1/+1
|
* Merged revisions 77775 via svnmerge fromEric Smith2010-01-271-23/+24
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77775 | eric.smith | 2010-01-26 20:21:15 -0500 (Tue, 26 Jan 2010) | 1 line Switch to test_support.get_attribute. ........
* Merged revisions 77771 via svnmerge fromEric Smith2010-01-271-1/+0
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77771 | eric.smith | 2010-01-26 19:58:43 -0500 (Tue, 26 Jan 2010) | 1 line Removed unneeded test. ........
* Merged revisions 77763 via svnmerge fromEric Smith2010-01-271-1/+17
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77763 | eric.smith | 2010-01-26 19:28:29 -0500 (Tue, 26 Jan 2010) | 1 line Issue #7766: Change sys.getwindowsversion() return value to a named tuple and add the additional members returned in an OSVERSIONINFOEX structure. The new members are service_pack_major, service_pack_minor, suite_mask, and product_type. ........
* Merged revisions 77735 via svnmerge fromBenjamin Peterson2010-01-251-0/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77735 | benjamin.peterson | 2010-01-24 21:31:13 -0600 (Sun, 24 Jan 2010) | 1 line fix an UnboundLocalError when the release file is empty #7773 ........
* Merged revisions 77729 via svnmerge fromEzio Melotti2010-01-243-70/+43
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77729 | ezio.melotti | 2010-01-24 22:48:35 +0200 (Sun, 24 Jan 2010) | 1 line remove archaic functions from test_support ........
* Merged revisions 77727 via svnmerge fromEzio Melotti2010-01-2452-288/+287
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77727 | ezio.melotti | 2010-01-24 18:58:36 +0200 (Sun, 24 Jan 2010) | 1 line use assert[Not]IsInstance where appropriate ........
* use assert[Not]In where appropriateEzio Melotti2010-01-2339-173/+176
|
* Merged revisions 77706 via svnmerge fromEzio Melotti2010-01-231-1/+5
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77706 | ezio.melotti | 2010-01-23 12:43:05 +0200 (Sat, 23 Jan 2010) | 1 line Increased the overflow value on test_dealloc to make sure that it is big enough even for wide builds. ........
* Merged revisions 77697 via svnmerge fromEzio Melotti2010-01-221-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77697 | ezio.melotti | 2010-01-22 18:58:28 +0200 (Fri, 22 Jan 2010) | 1 line This should fix the failure introduced in r77680. The error message is now different and it caused the test to fail. The failing test is not present in 2.5 so it is failing only on 2.6 and newer versions. ........