Commit graph

43198 commits

Author SHA1 Message Date
Vinay Sajip
ba980db797 Issue #12151: Added diagnostics to help diagnose intermittent socket errors. 2011-05-23 21:37:54 +01:00
Barry Warsaw
34289260da Replay changeset 70248:c714e2f92f63 from fubar branch. Original commit
message:

Cross-port changes for 2.6.7rc2 from the Subversion branch.
2011-05-23 15:26:11 -04:00
Barry Warsaw
cf0d8ab818 Replay changeset 70238:03e488b5c009 from fubar branch. Original commit
message:

Reconcile with the 2.6svn branch.  The 2.6.7 release will be made from
Subversion, but there were differences, so this brings them in sync.  These
changes should *not* propagate to any newer versions.
2011-05-23 15:22:56 -04:00
Tarek Ziade
e1177d9d17 Issue #12125: fixed the failures under Solaris due to improper test cleanup. 2011-05-23 19:07:56 +02:00
Tarek Ziade
fabc30833f fixed the cwd cleanup in packaging test_util 2011-05-23 18:47:27 +02:00
Tarek Ziade
eb64b61bf5 make sure the cwd is restored on tearDown 2011-05-23 18:31:20 +02:00
Tarek Ziade
a1ae533ac9 make sure build_dir.build_lib is synced to the faked build location 2011-05-23 17:35:20 +02:00
Victor Stinner
6c603c4593 test_codecs now removes the temporay file (created by the test) 2011-05-23 16:19:31 +02:00
Victor Stinner
d6881701fb Merge 3.2 2011-05-23 14:58:07 +02:00
Victor Stinner
b43dd4b8ca Merge 3.1 2011-05-23 14:57:05 +02:00
Victor Stinner
2cca057284 test_codecs now removes the temporay file (created by the test) 2011-05-23 14:51:42 +02:00
Victor Stinner
cc6491a0fa Issue #12105: test_posix, add the value of O_CLOEXEC in the error message 2011-05-23 12:54:52 +02:00
Gregory P. Smith
a454ef6985 Update documentation to mention bytes instead byte string and correct one
mentioned string to the accurate description of what type is required.
2011-05-22 22:29:49 -07:00
Victor Stinner
949c890e48 Issue #12151: test_logging writes debug messages to stderr, not stdout
stdout are lost in buildbots
2011-05-23 01:16:44 +02:00
Tarek Ziade
e5f9cbdaae skip more tests in packaging if threading is not supported 2011-05-23 00:41:27 +02:00
Tarek Ziade
a3c1545a2e not using a server name anymore as the 127.0.0.1 <> localhost symmetry is not true under Windows 7 2011-05-22 23:25:48 +02:00
Victor Stinner
3c8d12d6b8 Issue #10801: Remove a debug print() from test_zipfile 2011-05-22 22:12:27 +02:00
Tarek Ziade
3517369894 Issue 12132 - skip the test_buil_ext test if the xx module is not found 2011-05-22 22:09:55 +02:00
Tarek Ziade
2bc55e482e Issue 10126 - backported distutils fix for the enable-share mode into packaging 2011-05-22 21:21:44 +02:00
Charles-François Natali
1e045b1831 Issue #12105: Add O_CLOEXEC to the os module. 2011-05-22 20:42:32 +02:00
Antoine Pitrou
f738d33e5d Issue #12138: fix use of transient_internet() in test_urllibnet 2011-05-22 17:35:48 +02:00
Antoine Pitrou
a98d26a500 Issue #12138: fix use of transient_internet() in test_urllibnet 2011-05-22 17:35:17 +02:00
Victor Stinner
3c18f259ee regrtest: enable faulthandler in main() instead of if __name__ == '__main__':
So it's also enabled when using "./python -m test".
2011-05-22 15:27:14 +02:00
Mark Dickinson
b455e58b95 Issue #12079: Decimal(0).fma(Decimal('inf'), 'not a number') should give a TypeError, not a Decimal.InvalidOperation 2011-05-22 12:53:18 +01:00
Victor Stinner
2e7f39e889 Issue #12012: test_ssl uses test_support.import_module()
Skip the whole file if the SSL module is missing. It was already the case,
except that the SkipTest exception was raised in test_main().

This commit fixes an error in test_ssl if the ssl module is missing.
2011-05-22 13:22:28 +02:00
Tarek Ziade
2c40f60c32 added the Content-Length header. that fixes the weird packaging.pypi.errors.HashDoesNotMatch errors 2011-05-21 23:59:09 +02:00
Tarek Ziade
99d4623850 deactivating one test under win32 for now 2011-05-21 23:05:19 +02:00
Tarek Ziade
cc243cc808 make sure the crawler can browse file-based indexes under win32 2011-05-21 22:47:40 +02:00
Tarek Ziade
76ad4f0ec9 fixed the export symbols for the win32 linker 2011-05-21 21:48:04 +02:00
Tarek Ziade
5edc31ecaf skip the pypi upload doc test via https, if ssl is not available 2011-05-21 19:53:45 +02:00
Tarek Ziade
be20be1345 use the same line terminator everywhere 2011-05-21 19:45:48 +02:00
Vinay Sajip
39e3528bb2 Issue #12136: Added change to handle non-availability of the ssl module. 2011-05-21 16:46:41 +01:00
Georg Brandl
9c1928f0a9 Merge release branch after 3.2.1rc1. 2011-05-21 17:35:33 +02:00
Tarek Ziade
4bdd9f36a0 fixed the move api in packaging.install, and closing the handle left by mkstemp() in its test module 2011-05-21 15:12:10 +02:00
Tarek Ziade
2db5674a95 we want to generate /-separated paths setup.cfg files even under win32 2011-05-21 14:24:14 +02:00
Vinay Sajip
9ba876104e Added SSL test for HTTPHandler. 2011-05-21 11:32:15 +01:00
Tarek Ziade
91f0e346cc fixed the way the cfg file markers values are split under win32 2011-05-21 12:00:10 +02:00
Tarek Ziade
ec9b76d282 fixed the separator issues in packaging/resources+config 2011-05-21 11:48:16 +02:00
Tarek Ziade
94449616da fixed a few mocking/cleanup issues in packaging test_util for win32 2011-05-21 10:37:58 +02:00
Victor Stinner
9904b22b78 Close #12114: fix a potential deadlock in packaging.util._find_exe_version()
Avoid also zombi processes: Popen.communicate() calls its wait() method.
2011-05-21 02:20:36 +02:00
Victor Stinner
f58f1c33c1 Issue #12124: zipimport doesn't keep a reference to zlib.decompress() anymore
to be able to unload the module.
2011-05-21 02:13:22 +02:00
Vinay Sajip
32565b6c02 Added SSL capability to TestHTTPServer. 2011-05-21 00:34:51 +01:00
Ezio Melotti
bb00976fbf Fix another ResourceWarning in test_packaging. 2011-05-20 20:27:54 +03:00
Ezio Melotti
2177ac9c41 Fix more ResourceWarnings in test_packaging moving the join() and server_close() in the stop method. 2011-05-20 19:35:58 +03:00
Charles-François Natali
6071359de1 Issue #1746656: make if_nameindex(), if_indextoname() and if_nametoindex()
accept and return str instead of bytes arrays. Add some more tests.
2011-05-20 16:55:06 +02:00
Ezio Melotti
86c54f0955 Fix several ResourceWarnings in test_packaging. 2011-05-20 14:13:58 +03:00
Victor Stinner
ba8ef7a81d (Merge 3.2) test_pydoc: skip PydocServerTest if thread support is disabled 2011-05-20 02:29:55 +02:00
Victor Stinner
62a68f2dbe test_pydoc: skip PydocServerTest if thread support is disabled 2011-05-20 02:29:13 +02:00
Victor Stinner
4050c69f78 packaging.tests.test_command_install_data: restore correctly sysconfig._SCHEMES 2011-05-20 01:56:42 +02:00
Victor Stinner
e1e3b12979 fix packaging tests on Windows: use os.path.join() in glob patterns 2011-05-20 00:33:39 +02:00