Nadeem Vawda
9d9dc8eba0
Fix test_gzip failures on Windows.
2012-05-06 16:25:35 +02:00
Nadeem Vawda
1b8a14d3f0
Separate tests for gzip.GzipFile and gzip.open.
2012-05-06 15:17:52 +02:00
Nadeem Vawda
7e126205e6
Closes #13989 : Add support for text modes to gzip.open().
...
Also, add tests for gzip.open().
2012-05-06 15:04:01 +02:00
Vinay Sajip
f1b34ee61b
#12660 : Skip test_gdb when run from an installed Python.
2012-05-06 12:03:05 +01:00
Vinay Sajip
73954040f6
Issue #9116 : Allowed test to pass on Windows by adjusting the test condition slightly to allow for a Windows-specific error message.
2012-05-06 11:34:50 +01:00
Vinay Sajip
363712349a
Closes #14729 : Allowed test to pass on Windows by adjusting the test condition slightly to allow for a Windows-specific error message.
2012-05-06 11:28:46 +01:00
Larry Hastings
faf91e75ab
Issue #14705 : Add 'p' format character to PyArg_ParseTuple* for bool support.
2012-05-05 16:54:29 -07:00
Richard Oudkerk
fdb8dcf675
Fix for Issue 14725 for 3.3 branch.
2012-05-05 19:45:37 +01:00
Lars Gustäbel
7a919e9930
Issue #13815 : TarFile.extractfile() now returns io.BufferedReader objects.
...
The ExFileObject class was removed, some of its code went into _FileInFile.
2012-05-05 18:15:03 +02:00
Antoine Pitrou
f340c21ca9
Fix test connecting to sha256.tbs-internet.com.
...
The certificate has changed and the test now needs SNI to pass.
2012-05-04 16:26:56 +02:00
Antoine Pitrou
16f6f8338b
Fix test connecting to sha256.tbs-internet.com.
...
The certificate has changed and the test now needs SNI to pass.
2012-05-04 16:26:02 +02:00
Richard Oudkerk
009b15e2c3
Give test_multiprocessing better chance of avoiding timeout failures on Windows
2012-05-04 09:44:39 +01:00
Richard Oudkerk
a6becaa9cb
Fix dangling warning for test_multiprocessing
2012-05-03 18:29:02 +01:00
Vinay Sajip
ac20f463da
Merged hanged order of cleanup operations from 3.2.
2012-05-03 12:09:38 +01:00
Vinay Sajip
89282afafb
Changed order of cleanup operations to be more sensible.
2012-05-03 12:06:52 +01:00
Larry Hastings
76ad59b7e8
Issue #14127 : Add ns= parameter to utime, futimes, and lutimes.
...
Removed futimens as it is now redundant.
Changed shutil.copystat to use st_atime_ns and st_mtime_ns from os.stat
and ns= parameter to utime--it once again preserves exact metadata on Linux!
2012-05-03 00:30:07 -07:00
Charles-François Natali
598b2f6bd0
Merge.
2012-05-02 20:51:59 +02:00
Charles-François Natali
360b3c21f5
os.popen().close() returns None on success, not 0...
2012-05-02 20:50:13 +02:00
Charles-François Natali
39687ee9db
os.popen().close() returns None on success, not 0...
2012-05-02 20:49:14 +02:00
Richard Oudkerk
225cb8d077
Make test_multiprocessing cleanup properly
...
Previously, when an error was encountered some processes would not be
stopped until atexit callbacks were run. On Windows that was too late
to prevent a PermissionError when regrtest tried to remove the temp
directory it ran the tests in.
2012-05-02 19:36:11 +01:00
Charles-François Natali
d59240de83
Issue #14698 : Make test_posix more robust when the current UID doesn't have an
...
associated pwd entry.
2012-05-02 20:04:40 +02:00
Charles-François Natali
e8a255a5a2
Issue #14698 : Make test_posix more robust when the current UID doesn't have an
...
associated pwd entry.
2012-05-02 20:01:38 +02:00
Martin v. Löwis
67880cc962
Issue #13183 : Revert 0b53b70a40a0 (reenable test on windows)
2012-05-02 07:41:22 +02:00
Senthil Kumaran
bf6c19598a
fix closes issue13183 - windows test failure
2012-05-02 08:01:02 +08:00
Senthil Kumaran
cb172041d3
fix windows test failure - issue13183
2012-05-02 08:00:22 +08:00
Benjamin Peterson
1c5ae55c85
don't use assertEqual for test for bool equality
2012-05-01 11:14:32 -04:00
Benjamin Peterson
8fbd295458
merge 3.2 ( #14699 )
2012-05-01 09:51:46 -04:00
Benjamin Peterson
7295c6a871
fix calling the classmethod descriptor directly ( closes #14699 )
2012-05-01 09:51:09 -04:00
Benjamin Peterson
49a69e4d48
strip is_ prefixes on clock_info fields
2012-05-01 09:38:34 -04:00
Martin v. Löwis
d099b56be7
Check extract_version when opening a zipfile.
2012-05-01 14:08:22 +02:00
Georg Brandl
b613a3d458
Disable test_13183 temporarily on Windows for 3.3a3 release.
2012-05-01 09:57:34 +02:00
Georg Brandl
4bde9caf74
test_pdb: fix failure of test_issue13183 in debug mode, and make sure files are cleaned up.
2012-05-01 09:21:16 +02:00
Martin v. Löwis
b3260f08cf
Detect unsupported compression types.
2012-05-01 08:38:01 +02:00
Martin v. Löwis
f6b16a4b50
Issue #14371 : Support bzip2 in zipfile module.
...
Patch by Serhiy Storchaka.
2012-05-01 07:58:44 +02:00
Senthil Kumaran
417c3848d5
issue13183 - Fix pdb skipping frames after hitting a breakpoint and running step. Patch by Xavier de Gaye
2012-05-01 10:37:11 +08:00
Senthil Kumaran
42d7081806
issue13183 - Fix pdb skipping frames after hitting a breakpoint and running step. Patch by Xavier de Gaye
2012-05-01 10:07:49 +08:00
Richard Oudkerk
2452419921
Issue #14669 : Skip multiprocessing connection pickling test on MacOSX
...
Passing of fds is unreliable on MacOSX, compare issues #6560 and #12958 .
2012-04-30 14:48:51 +01:00
Richard Oudkerk
4460c3476d
Minor fix for multiprocessing unit test
...
Read from socket might have returned partial message.
2012-04-30 14:48:50 +01:00
Victor Stinner
9a8ad0c5ea
Issue #14428 : Remove test_process_time_threads() from test_time
...
The test is unstable and it's not really interesting to test exactly how
threads are handled.
2012-04-30 01:39:57 +02:00
Victor Stinner
5df72c2c27
Issue #14428 : Make test_process_time_threads() less strict
2012-04-30 00:51:31 +02:00
Alexander Belopolsky
934cb18ef5
merged
2012-04-29 18:20:05 -04:00
Alexander Belopolsky
b8f02b5a5f
fixed test_imaplib failure on Win
2012-04-29 18:16:46 -04:00
Mark Dickinson
57404891a0
Issue #14696 : Merge from 3.2
2012-04-29 22:20:01 +01:00
Mark Dickinson
407b3bd89b
Issue #14696 : Fix parser module to understand 'nonlocal' declarations.
2012-04-29 22:18:31 +01:00
Alexander Belopolsky
5a38f80f9c
Issue #10941 : Fix imaplib.Internaldate2tuple to produce correct result near
...
the DST transition. Patch by Joe Peterson.
2012-04-29 16:12:27 -04:00
Alexander Belopolsky
2420d83158
Issue #10941 : Fix imaplib.Internaldate2tuple to produce correct result near
...
the DST transition. Patch by Joe Peterson.
2012-04-29 15:56:49 -04:00
Mark Dickinson
89e6d3896a
Remove untests for non-existent functionality.
2012-04-29 19:17:05 +01:00
Victor Stinner
1fc3ec91cc
Issue #14428 : Rewrite test_process_time_threads() test
...
time.process_time() is CPU time, not a number of seconds.
2012-04-29 19:46:19 +02:00
Mark Dickinson
b63fd2a408
Issue #9154 : Merge fix from 3.2.
2012-04-29 18:35:56 +01:00
Mark Dickinson
ea7e9f9a83
Issue #9154 : Fix parser module to understand function annotations.
2012-04-29 18:34:40 +01:00