Commit graph

16259 commits

Author SHA1 Message Date
Ezio Melotti
e7c329954c #11963: fix Windows buildbots. 2013-03-10 03:25:45 +02:00
Ezio Melotti
0d7333e0ef #11963: merge with 3.2. 2013-03-09 22:20:23 +02:00
Ezio Melotti
3919184014 #11963: avoid printing messages in test_parser. Initial patch by Éric Araujo. 2013-03-09 22:17:33 +02:00
Victor Stinner
29c0034ff9 Issue #17223: the test is specific to 32-bit wchar_t type
Skip the test on Windows.
2013-03-08 02:33:06 +01:00
R David Murray
965794ed58 Merge: PEP8 fixup on previous patch, remove unused imports in test_email. 2013-03-07 18:16:47 -05:00
R David Murray
addb0be63e Merge: #14645: Generator now emits correct linesep for all parts.
Previously the parts of the message retained whatever linesep they had on
read, which means if the messages weren't read in univeral newline mode, the
line endings could well be inconsistent.  In general sending it via smtplib
would result in them getting fixed, but it is better to generate them
correctly to begin with.  Also, the new send_message method of smtplib does
not do the fixup, so that method is producing rfc-invalid output without this
fix.
2013-03-07 16:43:58 -05:00
Ezio Melotti
1f38621a33 #11732: add a new suppress_crash_popup() context manager to test.support that disables crash popups on Windows and use it in test_ctypes. 2013-03-07 18:44:29 +02:00
Ezio Melotti
e846342f8a #11732: make suppress_crash_popup() work on Windows XP and Windows Server 2003. 2013-03-07 18:37:13 +02:00
Ezio Melotti
e1857d999d Fix indentation. 2013-03-05 20:31:34 +02:00
Ezio Melotti
25a404520d #11732: add a new suppress_crash_popup() context manager to test.support. 2013-03-05 20:26:17 +02:00
Antoine Pitrou
31584e30ab Issue #17278: Fix a crash in heapq.heappush() and heapq.heappop() when the list is being resized concurrently. 2013-03-04 20:33:36 +01:00
Antoine Pitrou
44d5214927 Issue #17278: Fix a crash in heapq.heappush() and heapq.heappop() when the list is being resized concurrently. 2013-03-04 20:30:01 +01:00
Ezio Melotti
296069301a #17346: merge with 3.2. 2013-03-04 15:19:02 +02:00
Ezio Melotti
aaef34483c #17346: make sure pickle tests are run against all protocols. Initial patch by Marius Gedminas. 2013-03-04 15:17:56 +02:00
Raymond Hettinger
0392342673 Add test for RLock in the lru_cache(). 2013-03-04 02:52:50 -05:00
Nadeem Vawda
ad246bfb71 Issue #13898: test_ssl no longer prints a spurious stack trace on Ubuntu. 2013-03-03 22:44:22 +01:00
Nadeem Vawda
7b39b9b51b Issue #13898: test_ssl no longer prints a spurious stack trace on Ubuntu. 2013-03-03 22:31:21 +01:00
Ezio Melotti
bce9a5d5cd #17334: test_index now works with unittest test discovery. Patch by Zachary Ware. 2013-03-02 14:47:07 +02:00
Ezio Melotti
02bf701b25 #17333: test_imaplib now works with unittest test discovery. Patch by Zachary Ware. 2013-03-02 14:25:56 +02:00
Ezio Melotti
7b3e571c16 #17315: merge with 3.2. 2013-03-01 21:00:05 +02:00
Ezio Melotti
136726c59f #17315: unlink a file that test_posixpath was leaving around. 2013-03-01 20:59:17 +02:00
Ezio Melotti
f79493bf9e #17082: test_dbm* now work with unittest test discovery. Patch by Zachary Ware. 2013-03-01 11:23:28 +02:00
Ezio Melotti
520378f81d #17079: test_ctypes now works with unittest test discovery. Patch by Zachary Ware. 2013-03-01 10:55:17 +02:00
R David Murray
1cb0cb2fcd #17296: backport fix for issue 1692335, naive exception pickling. 2013-02-27 08:57:09 -05:00
Ezio Melotti
e601fb0691 #17304: test_hash now works with unittest test discovery. Patch by Zachary Ware. 2013-02-27 10:09:12 +02:00
Ezio Melotti
1ed6be3793 #17303: test_future* now work with unittest test discovery. Patch by Zachary Ware. 2013-02-27 10:00:03 +02:00
Victor Stinner
c472c5d7bd Issue #17223: Fix test_array on Windows (16-bit wchar_t/Py_UNICODE) 2013-02-26 22:52:11 +01:00
Eli Bendersky
236870439c Some cosmetic changes 2013-02-26 05:53:23 -08:00
Richard Oudkerk
5b8a3242c4 Merge 2013-02-26 13:00:15 +00:00
Richard Oudkerk
7aaa1ef858 Issue #17018: Make Process.join() retry if os.waitpid() fails with EINTR. 2013-02-26 12:39:57 +00:00
Victor Stinner
29ec595c6a Issue #17223: array module: Fix a crasher when converting an array containing
invalid characters (outside range [U+0000; U+10ffff]) to Unicode: repr(array),
str(array) and array.tounicode(). Patch written by Manuel Jacob.
2013-02-26 00:27:38 +01:00
Serhiy Storchaka
f8cf59e8aa Issue #15083: Convert ElementTree doctests to unittests. 2013-02-25 17:20:59 +02:00
Serhiy Storchaka
d9a550b5e1 Issue #1470548: Add test for fragment producing with XMLGenerator. 2013-02-25 13:46:32 +02:00
Serhiy Storchaka
a5f13d2a5f Issue #1470548: Add test for fragment producing with XMLGenerator. 2013-02-25 13:46:10 +02:00
R David Murray
9f10f56d13 Merge #17275: Fix class name in init errors in C bufferedio classes.
This fixes an apparent copy-and-paste error.

Patch by Manuel Jacob.
2013-02-23 22:07:55 -05:00
R David Murray
67bfe80758 #17275: Fix class name in init errors in C bufferedio classes.
This fixes an apparent copy-and-paste error.

Patch by Manuel Jacob.
2013-02-23 21:51:05 -05:00
Petri Lehtinen
e766c742c1 Revert "Issue #16121: Fix line number accounting in shlex" 2013-02-23 23:12:35 +01:00
Petri Lehtinen
0362b54fd9 Revert "Issue #16121: Fix line number accounting in shlex" 2013-02-23 23:12:03 +01:00
Petri Lehtinen
6d61eaa0d0 Issue #16121: Fix line number accounting in shlex 2013-02-23 22:09:51 +01:00
Petri Lehtinen
7a05113ccf Issue #16121: Fix line number accounting in shlex 2013-02-23 22:08:07 +01:00
Ezio Melotti
eadece2865 #12749: add a test for non-BMP ranges in character classes. 2013-02-23 08:40:07 +02:00
Ezio Melotti
4ad8eec09e #17217: merge with 3.2. 2013-02-23 07:57:53 +02:00
Ezio Melotti
507eb09ad6 #17217: fix UnicodeEncodeErrors errors in test_format by printing ASCII only. 2013-02-23 07:53:56 +02:00
Ezio Melotti
1ca8794f10 #17249: check for the availability of the thread module. 2013-02-23 06:42:19 +02:00
Ezio Melotti
35246bd5b1 #17249: merge with 3.2. 2013-02-23 05:58:38 +02:00
Ezio Melotti
29267c81ce #17249: convert a test in test_capi to use unittest and reap threads. 2013-02-23 05:52:46 +02:00
Ezio Melotti
600b71167e #17255: merge with 3.2. 2013-02-21 23:17:08 +02:00
Ezio Melotti
0f4377c100 #17255: test short-circuiting behavior of any()/all(). Patch by Wim Glenn. 2013-02-21 23:15:40 +02:00
Serhiy Storchaka
9d202ba252 Issue #17248: Fix os.*chown() testing when user is in root group. 2013-02-21 14:34:59 +02:00
Serhiy Storchaka
a2964b3175 Issue #17248: Fix os.*chown() testing when user is in root group. 2013-02-21 14:34:36 +02:00