Commit graph

24500 commits

Author SHA1 Message Date
Antoine Pitrou
13f8b682a7 Mark test_devpoll as unexpected on most platforms 2011-11-15 15:25:59 +01:00
Antoine Pitrou
78edf7576e Issue #13333: The UTF-7 decoder now accepts lone surrogates
(the encoder already accepts them).
2011-11-15 01:44:16 +01:00
Antoine Pitrou
5418ee0b9a Issue #13333: The UTF-7 decoder now accepts lone surrogates
(the encoder already accepts them).
2011-11-15 01:42:21 +01:00
Jesus Cea
d8b9ae6e8f Issue #6397: Support '/dev/poll' polling objects in select module, under Solaris & derivatives. 2011-11-14 19:07:41 +01:00
Éric Araujo
bfc972974b Fix a few typos 2011-11-14 18:18:15 +01:00
Ezio Melotti
d5d4406c8e #1745761, #755670, #13357, #12629, #1200313: merge with 3.2. 2011-11-14 18:56:11 +02:00
Ezio Melotti
c2fe57762b #1745761, #755670, #13357, #12629, #1200313: improve attribute handling in HTMLParser. 2011-11-14 18:53:33 +02:00
Ezio Melotti
b245ed1cdf Group tests about attributes in a separate class. 2011-11-14 18:13:22 +02:00
Antoine Pitrou
4339a7767d Merge 2011-11-12 20:36:51 +01:00
Antoine Pitrou
7abe61f6b5 Restore smtpd.DEBUGSTREAM at the end of test_smtpd.
(backport of 6b9f547e92d8)
2011-11-12 20:36:29 +01:00
Antoine Pitrou
e0815e2db0 Restore smtpd.DEBUGSTREAM at the end of test_smtpd.
This fixes a subsequent refleak in test_smtplib.
2011-11-12 20:36:29 +01:00
Petri Lehtinen
516d80530b Merge branch 3.2 2011-11-12 21:15:24 +02:00
Petri Lehtinen
c153cd3d5a Update mailbox.Maildir tests
Remove a sleep to fix transient test failures. Use skewfactor of -3 to
make it work on systems that have 1 second precision for time.time().

Closes #11999
Refs #13254
2011-11-12 21:14:53 +02:00
Florent Xicluna
e41f0de84d Merge 3.2, fix typos. 2011-11-11 19:39:25 +01:00
Florent Xicluna
992d9e081f Fix few typos. 2011-11-11 19:35:42 +01:00
Florent Xicluna
e54371e24c Use unittest.skipUnless to skip the test related to the glibc bug, issue #13309. 2011-11-11 18:59:30 +01:00
Ezio Melotti
40dc919b0d Fix range in test. 2011-11-11 17:00:46 +02:00
Antoine Pitrou
51f6648a31 Make test more inclusive 2011-11-11 13:35:44 +01:00
Antoine Pitrou
dffab19218 Enable commented out test 2011-11-11 13:31:59 +01:00
Antoine Pitrou
b0a1d628b8 Avoid a glibc bug in test_time (issue #13309) 2011-11-11 03:04:35 +01:00
Charles-François Natali
240c55f721 Fix test_socket when built whithout threads. 2011-11-10 20:33:36 +01:00
Charles-François Natali
10b8cf4455 Issue #7777: socket: Add Reliable Datagram Sockets (PF_RDS) support. 2011-11-10 19:21:37 +01:00
Charles-François Natali
0c929d9d39 Issue #13303: Fix bytecode file default permission. 2011-11-10 19:12:29 +01:00
Victor Stinner
fd9cd24a05 Issue #13374: Use Unicode filenames instead of bytes filenames
getcwdb() => getcwd()
2011-11-09 01:13:45 +01:00
Charles-François Natali
c12e093795 Back out changeset b6336ba796d4 until fix for #13303. 2011-11-08 20:38:11 +01:00
Charles-François Natali
31846c4372 test_import: test_execute_bit_not_copied() was actually a no-op: enable it. 2011-11-08 19:43:09 +01:00
Charles-François Natali
69d44fdb90 test_import: test_execute_bit_not_copied() was actually a no-op: fix it. 2011-11-08 19:42:02 +01:00
Jesus Cea
bc91b46951 Partial patch for issue #11812: Take care of test_telnetlib.py 2011-11-08 16:24:43 +01:00
Jesus Cea
c241df814f Solved a potential deadlock in test_telnetlib.py. Related to issue #11812 2011-11-08 16:20:46 +01:00
Jason R. Coombs
aa204dbe9c Issue #13211: Add .reason attribute to HTTPError to implement parent class (URLError) interface. 2011-11-07 10:50:32 -05:00
Jason R. Coombs
974d863fec Issue #13211: Add .reason attribute to HTTPError to implement parent class (URLError) interface. 2011-11-07 10:44:25 -05:00
Ezio Melotti
ab731a3556 #8414: add more tests for "assert". Initial patch by Gregory Nofi. 2011-12-02 18:17:30 +02:00
Charles-François Natali
27bc4d07cc Issue #13415: Skip test_os.test_unset_error on FreeBSD and OS X. 2011-11-27 13:05:14 +01:00
Meador Inge
710671a722 Issue #12618: fix py_compile unit tests to handle different drives on Windows 2011-11-26 11:30:21 -06:00
Meador Inge
89749407af Issue #12618: create unit tests for the py_compile module 2011-11-25 23:28:18 -06:00
Meador Inge
0e30317891 Issue #13380: add an internal function for resetting the ctypes caches 2011-11-25 22:25:06 -06:00
Antoine Pitrou
a5d5bb997b Issue #12856: Ensure child processes do not inherit the parent's random seed for filename generation in the tempfile module.
Patch by Brian Harring.
2011-11-25 21:28:15 +01:00
Victor Stinner
091b6ef793 Issue #13436: Fix unsetenv() test on Windows 2011-11-22 22:30:19 +01:00
Victor Stinner
53853c3fa9 Issue #13415: os.unsetenv() doesn't ignore errors anymore. 2011-11-22 22:20:13 +01:00
Charles-François Natali
6392d7f68b Issue #12156: Skip test_multiprocessing on systems which don't support enough
POSIX semaphores (among which FreeBSD < 8).
2011-11-22 18:35:18 +01:00
Victor Stinner
975134e2a2 Issue #13093: Fix error handling on PyUnicode_EncodeDecimal()
Add tests for PyUnicode_EncodeDecimal()
2011-11-22 01:54:19 +01:00
Antoine Pitrou
5aa7df320f Issue #13322: Fix BufferedWriter.write() to ensure that BlockingIOError is
raised when the wrapped raw file is non-blocking and the write would block.
Previous code assumed that the raw write() would raise BlockingIOError, but
RawIOBase.write() is defined to returned None when the call would block.
Patch by sbt.
2011-11-21 20:16:44 +01:00
Victor Stinner
9d38b0dcb2 Close #13401: Skip TestFileTypeW of test_argparse if the current user is root
Patch written by Arfrever Frehtes Taifersar Arahesis.
2011-11-20 23:09:09 +01:00
Ezio Melotti
169ed5946a #11112: Fix typo in a base class in test_socket. 2011-11-18 18:33:14 +02:00
Ezio Melotti
00dc60beee #13358: HTMLParser now calls handle_data only once for each CDATA. 2011-11-18 18:00:40 +02:00
Ezio Melotti
93bbb6a9a6 #4147: minidom's toprettyxml no longer adds whitespace around a text node when it is the only child of an element. Initial patch by Dan Kenigsberg. 2011-11-18 17:30:28 +02:00
Jason R. Coombs
5d032c0f95 PDB now will properly escape backslashes in the names of modules it executes. Fixes #7750 2011-11-17 18:03:24 -05:00
Antoine Pitrou
30402549de Issue #13333: The UTF-7 decoder now accepts lone surrogates
(the encoder already accepts them).
2011-11-15 01:49:40 +01:00
Victor Stinner
16ed86831b Issue #7732: Try to fix the a failing test on Windows
It doesn't matter if imp.find_module() fails with ImportError or IOError, but
it should not crash.
2011-11-14 20:50:36 +01:00
Ezio Melotti
0f1571ce7f #1745761, #755670, #13357, #12629, #1200313: improve attribute handling in HTMLParser. 2011-11-14 18:04:05 +02:00