Ezio Melotti
3919184014
#11963 : avoid printing messages in test_parser. Initial patch by Éric Araujo.
2013-03-09 22:17:33 +02:00
Vinay Sajip
becf5c6deb
Issue #17384 : Consolidated cleanup operations in tests.
2013-03-08 09:50:57 +00:00
Victor Stinner
763edc1c6a
(Merge 3.3) Issue #17223 : the test is specific to 32-bit wchar_t type
...
Skip the test on Windows.
2013-03-08 02:33:44 +01: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
857b24b0d5
Merge: PEP8 fixup on previous patch, remove unused imports in test_email.
2013-03-07 18:17:19 -05: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
2e78cd9b5e
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 17:31:21 -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
1181a46e09
#11732 : merge with 3.3.
2013-03-07 18:38:45 +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
87a249c119
#11732 : merge with 3.3.
2013-03-05 20:33:38 +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
221760a3aa
Issue #17278 : Fix a crash in heapq.heappush() and heapq.heappop() when the list is being resized concurrently.
2013-03-04 20:35:55 +01: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
63f40d7af4
#17346 : merge with 3.3.
2013-03-04 15:21:14 +02: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
6c2078d545
merge
2013-03-04 02:58:40 -05:00
Raymond Hettinger
0392342673
Add test for RLock in the lru_cache().
2013-03-04 02:52:50 -05:00
Nadeem Vawda
6386e17f39
Issue #13898 : test_ssl no longer prints a spurious stack trace on Ubuntu.
2013-03-03 22:48:15 +01: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
04a29554c1
#17032 : The "global" in the "NameError: global name 'x' is not defined" error message has been removed. Patch by Ram Rachum.
2013-03-03 15:12:44 +02:00
Ezio Melotti
ee71f4a8a4
#17334 : merge with 3.3.
2013-03-02 14:48:01 +02: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
5c67e22145
#17333 : merge with 3.3.
2013-03-02 14:33:05 +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
4b843a7492
#17312 : unlink a file that test_aifc was leaving around.
2013-03-01 21:10:26 +02:00
Ezio Melotti
dc99e0d396
#17315 : merge with 3.3.
2013-03-01 21:00:48 +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
fbd26867ef
#16935 : update test_crypt now that unittest discover understands SkipTest.
2013-03-01 14:53:45 +02:00
Ezio Melotti
c0b64663d9
#17082 : merge with 3.3.
2013-03-01 11:24:42 +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
6cc46d35f1
#17079 : merge with 3.3.
2013-03-01 10:56:35 +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
Vinay Sajip
f9e9754c47
Closes #17313 : Deleted test file created by test_logging.
2013-02-27 23:33:52 +00:00
Chris Jerdonek
517e925614
Issue #17283 : Share code between __main__.py and regrtest.py in Lib/test.
...
This commit also removes TESTCWD from regrtest.py's global namespace.
2013-02-27 09:02:53 -08:00
R David Murray
1cb0cb2fcd
#17296 : backport fix for issue 1692335, naive exception pickling.
2013-02-27 08:57:09 -05:00
Ezio Melotti
e1569e550c
#17304 : merge with 3.3.
2013-02-27 10:09:46 +02: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
28050255cc
#17303 : merge with 3.3.
2013-02-27 10:01:06 +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
742c5961dd
(Merge 3.3) Issue #17223 : Fix test_array on Windows (16-bit wchar_t/Py_UNICODE)
2013-02-26 22:52:25 +01: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
b26545e7b4
Some cosmetic changes
2013-02-26 05:54:04 -08:00
Eli Bendersky
236870439c
Some cosmetic changes
2013-02-26 05:53:23 -08:00
Richard Oudkerk
0320025f17
Merge
2013-02-26 13:11:11 +00: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
25c3053a4f
(Merge 3.3) 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:56 +01: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
91d0ca72de
Issue #15083 : Convert ElementTree doctests to unittests.
2013-02-25 17:21:42 +02:00
Serhiy Storchaka
f8cf59e8aa
Issue #15083 : Convert ElementTree doctests to unittests.
2013-02-25 17:20:59 +02:00
Serhiy Storchaka
bd9b56162b
Issue #1470548 : Add test for fragment producing with XMLGenerator.
2013-02-25 13:47:20 +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
d7c59e101f
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:21:48 -05: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
0562379a7c
Revert "Issue #16121 : Fix line number accounting in shlex"
2013-02-23 23:13:03 +01: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
978b4d6d29
Issue #16121 : Fix line number accounting in shlex
2013-02-23 22:11:06 +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
36aed8fa4c
#12749 : merge with 3.3.
2013-02-23 08:40:39 +02: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
33136fa6e7
#17217 : merge with 3.3.
2013-02-23 07:58:28 +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
8a909368b9
#17249 : merge with 3.3.
2013-02-23 05:59:37 +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
8a268b985f
#17255 : merge with 3.3.
2013-02-21 23:17:34 +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
920007ad76
Issue #17225 : JSON decoder now counts columns in the first line starting
...
with 1, as in other lines.
2013-02-21 20:26:52 +02:00
Serhiy Storchaka
fc9bf110a2
Issue #17248 : Fix os.*chown() testing when user is in root group.
2013-02-21 14:35:51 +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
Ezio Melotti
d8bc0a3693
Merge DeprecationWarnings silencing in test_urllib from 3.3.
2013-02-21 02:55:56 +02:00
Ezio Melotti
79b99dba0f
Silence DeprecationWarnings in test_urllib.
2013-02-21 02:41:42 +02:00
Ezio Melotti
09d9d0f385
Merge DeprecationWarnings silencing in test_unicode from 3.3.
2013-02-21 00:01:44 +02:00
Ezio Melotti
51e243f22e
Silence DeprecationWarnings in test_unicode.
2013-02-20 23:56:01 +02:00
Serhiy Storchaka
205e82057d
Issue #17248 : Fix os.*chown() testing when user has group root.
2013-02-20 19:49:12 +02:00
Serhiy Storchaka
43d9fa2167
Issue #17248 : Fix os.*chown() testing when user has group root.
2013-02-20 19:48:47 +02:00
Serhiy Storchaka
b3d62cefc7
Issue #17248 : Fix os.*chown() testing when user has group root.
2013-02-20 19:48:22 +02:00
Serhiy Storchaka
07342983ce
Issue #15301 : Enhance os.*chown() testing. Based on patch by Larry Hastings.
2013-02-20 19:43:05 +02:00
Serhiy Storchaka
f0602062b6
Issue #15301 : Enhance os.*chown() testing. Based on patch by Larry Hastings.
2013-02-20 19:42:31 +02:00
Serhiy Storchaka
54db2fd5d0
Issue #15301 : Enhance os.*chown() testing. Based on patch by Larry Hastings.
2013-02-20 19:40:25 +02:00
Ezio Melotti
1758d9cf8e
#17143 : merge with 3.3.
2013-02-20 02:54:50 +02:00
Ezio Melotti
5a9ce077e0
#17143 : fix buildbot failures on Windows.
2013-02-20 02:52:49 +02:00
R David Murray
87632f1a9e
#6623 : Add explicit deprecation warning for ftplib.Netrc.
2013-02-19 18:32:28 -05:00
R David Murray
8aa164b395
Merge: #13700 : Make imap.authenticate with authobject work.
...
This fixes a bytes/string confusion in the API which prevented
custom authobjects from working at all.
Original patch by Erno Tukia.
2013-02-19 12:20:32 -05:00
R David Murray
6cd6f01556
Merge: #13700 : Make imap.authenticate with authobject work.
...
This fixes a bytes/string confusion in the API which prevented
custom authobjects from working at all.
Original patch by Erno Tukia.
2013-02-19 12:19:13 -05:00