Commit graph

6913 commits

Author SHA1 Message Date
Senthil Kumaran
ec30b3dd8c Fix Issue10205 - XML QName error when different tags have same QName. 2010-11-09 02:36:59 +00:00
Victor Stinner
92665ab8c7 test_tokenize: use self.assertEqual() instead of plain assert 2010-11-09 01:11:31 +00:00
Victor Stinner
58c0752a33 Issue #10335: Add tokenize.open(), detect the file encoding using
tokenize.detect_encoding() and open it in read only mode.
2010-11-09 01:08:59 +00:00
Alexander Belopolsky
18c33737f8 Fixed unit test failure on Windows 2010-11-08 23:10:20 +00:00
Antoine Pitrou
ea510eba1a Fix memory consumption advertised by some test cases 2010-11-08 21:40:13 +00:00
Antoine Pitrou
d7ae299e4b Fix test_hashlib with the bigmem option 2010-11-08 20:36:57 +00:00
Alexander Belopolsky
6672ea9424 Streamlined code in trace.Ignore and added unit tests. 2010-11-08 18:32:40 +00:00
R. David Murray
7dff9e08fb #10321: Add support for sending binary DATA and Message objects to smtplib 2010-11-08 17:15:13 +00:00
Antoine Pitrou
d95c7b5f8a Issue #10347: ignore leading test count ("[ 1/340]") when using the -f option to regrtest. 2010-11-07 20:50:51 +00:00
Mark Dickinson
a837aa6213 Update assertComplexIdentical to handle nans correctly. 2010-11-07 15:31:41 +00:00
Victor Stinner
be3da38e0a Issue #10337: skip tests of tanh() sign in test_math and test_cmath if tanh()
doesn't preserve the zero sign (if TANH_PRESERVES_ZERO_SIGN define is 0).
2010-11-07 14:14:27 +00:00
Mark Dickinson
baa0f0510e Add a dtoa.c test value that triggered a bug in recent versions of
Gay's dtoa.c (but not for current versions of Python's dtoa.c).
Thanks Rick Regan for finding and reporting this.
2010-11-07 10:01:46 +00:00
Victor Stinner
2e598faade test_concurrent_futures: remove temporary hack 2010-11-07 04:36:56 +00:00
Eric Smith
72f6620859 Removed unused test classes from test_format_map(). 2010-11-06 14:43:26 +00:00
Victor Stinner
7322fcf84b test_concurrent_futures: dump ulimit -a to check a failure on x86 FreeBSD 7.2 3.x, buildbot 2010-11-06 13:10:29 +00:00
Éric Araujo
7fa886df36 Prevent ResourceWarnings in test_gettext 2010-11-06 04:11:59 +00:00
Éric Araujo
37a89334da Fix caching error found by regrtest -R (#10229) 2010-11-06 04:09:29 +00:00
Éric Araujo
1c5054996f Fix one omission in r78359 2010-11-06 02:12:51 +00:00
Brian Curtin
ecd34cbbb8 Clear up ResourceWarnings 2010-11-06 01:30:41 +00:00
Antoine Pitrou
243757eb79 Issue #10180: Pickling file objects is now explicitly forbidden, since
unpickling them produced nonsensical results.
2010-11-05 21:15:39 +00:00
Antoine Pitrou
4a5f9677f3 Output served URL when running ssl_servers 2010-11-05 20:26:59 +00:00
Antoine Pitrou
66c95c745b Fix test_httplib when built without threads 2010-11-05 20:17:55 +00:00
Antoine Pitrou
a078115434 Issue #10282: Add a nntp_implementation attribute to NNTP objects. 2010-11-05 19:16:37 +00:00
Brian Curtin
de11b189d1 Close subprocess pipes to clean up ResourceWarnings 2010-11-05 17:22:46 +00:00
Brian Curtin
19a5379c97 Fix a number of ResourceWarnings on Windows due to open pipes. 2010-11-05 17:09:05 +00:00
Brian Curtin
5ad0bd69c9 Add socket cleanup for ResourceWarning and update test to use skip decorator 2010-11-05 15:47:45 +00:00
Brian Curtin
ab747a7daa Fix ResourceWarning from subprocess pipes being left open. 2010-11-05 15:40:27 +00:00
Brian Curtin
994ad6c775 Fix ResourceWarning from subprocess pipe. 2010-11-05 15:38:47 +00:00
Brian Curtin
43ec577e2c Close subprocess pipes in _kill. Fixes a number of ResourceWarnings. 2010-11-05 15:17:11 +00:00
Brian Curtin
3c6a951cfb Add cleanups to stdout/stderr pipes to remove ResourceWarnings. 2010-11-05 03:58:52 +00:00
Antoine Pitrou
08eeadac27 Issue #10283: Add a group_pattern argument to NNTP.list(). 2010-11-04 21:36:15 +00:00
Antoine Pitrou
99c4830d0c Issue #3699: Fix test_bigaddrspace and extend it to test bytestrings
as well as unicode strings.  Initial patch by Sandro Tosi.
2010-11-04 20:48:37 +00:00
Antoine Pitrou
aeb6ceead7 Issue #10293: Remove obsolete field in the PyMemoryView structure,
unused undocumented value PyBUF_SHADOW, and strangely-looking code in
PyMemoryView_GetContiguous.
2010-11-04 20:30:33 +00:00
Eric Smith
27bbca6f79 Issue #6081: Add str.format_map. str.format_map(mapping) is similar to str.format(**mapping), except mapping does not get converted to a dict. 2010-11-04 17:06:58 +00:00
Hirokazu Yamamoto
3cdd5cb959 Issue #5391: mmap.read_byte() should return unsigned value [0, 255]
instead of signed value [-127, 128].
2010-11-04 12:09:08 +00:00
Brian Curtin
3beb38f8ff Fix three ResourceWarnings.
Mimic the clientTearDown from ThreadedTCPSocketTest, closing the socket.
2010-11-04 03:41:43 +00:00
Phillip J. Eby
b6d4a8e4de Implement http://bugs.python.org/issue10155 using And Clover's patch, w/added
docs and support for more client-generated CGI variables.  (This should
complete the WSGI 1.0.1 compliance changes for Python 3.x.)
2010-11-03 22:39:01 +00:00
Antoine Pitrou
4103bc09a4 Issue #10281: nntplib now returns None for absent fields in the OVER/XOVER
response, instead of raising an exception.
2010-11-03 18:18:43 +00:00
Antoine Pitrou
0eee1f588c Disabling SNI test; server admin would not like us to use it for automated tests. 2010-11-03 08:53:25 +00:00
Antoine Pitrou
0d1b38cef9 Issue #10173: test_multiprocessing shouldn't pickle TestCase instances 2010-11-02 23:50:11 +00:00
Antoine Pitrou
f80b3f72c6 Issue #10280: NNTP.nntp_version should reflect the highest version
advertised by the server.
2010-11-02 22:31:52 +00:00
Phillip J. Eby
e159422ce9 Update wsgiref for PEP 3333, and fix errors introduced into the test suite by converting type() checks to isinstance().
(When WSGI specifies a built-in type, it does NOT mean "this type or a subclass" -- it means 'type(x) is SpecifiedType'.)
2010-11-02 22:28:59 +00:00
Benjamin Peterson
5a43f72d1b remove some things that are now tested 2010-11-02 21:54:20 +00:00
Brett Cannon
ed82ca1078 Ditch some dead code in test_unicode_file.
Closes issue #10294. Thanks Stefan Behnel for the find.
2010-11-02 19:27:59 +00:00
Steven Bethard
fca2e8aeb8 Fix bug 9340 - argparse parse_known_args didn't work with subparsers 2010-11-02 12:47:22 +00:00
Brian Curtin
b68928bea7 Clean up ResourceWarnings. Explictly close stdout from the subprocess. 2010-11-02 03:59:09 +00:00
Brian Curtin
21ebbb7d39 Clean up ResourceWarnings due to unclosed sockets. 2010-11-02 02:07:09 +00:00
Martin v. Löwis
be647e288d Remove extracted trees at the end of the test. 2010-11-01 22:08:46 +00:00
Martin v. Löwis
16f344df36 Issue #10184: Touch directories only once when extracting a tarfile. 2010-11-01 21:39:13 +00:00
Alexander Belopolsky
3b87ccad91 Reverted inadvertent change from r86095 2010-11-01 17:52:57 +00:00