Neal Norwitz
9eb9b10751
If we can't create a certificate, print a warning, but don't fail the test.
...
Modified patch from what Bill Janssen sent on python-3000.
2007-08-27 01:15:33 +00:00
Neal Norwitz
3e533c2290
Make a utility function for handling (printing) an error
2007-08-27 01:03:18 +00:00
Neal Norwitz
f6f525b7c9
Stop using string.join (from the module) to ease upgrade to py3k
2007-08-27 00:58:33 +00:00
Neal Norwitz
d6a51e64d7
Another patch from Bill Janssen that:
...
1) Fixes the bug that two class names are initial-lower-case.
2) Replaces the poll waiting for the server to become ready with
a threading.Event signal.
2007-08-26 22:20:03 +00:00
Neal Norwitz
1b2f62d139
Catch IOError for when the device file doesn't exist or the user doesn't have
...
permission to write to the device.
2007-08-26 22:16:23 +00:00
Neal Norwitz
15d4e56c40
Get the test passing by commenting out some writes (should they be removed?)
2007-08-26 21:40:16 +00:00
Guido van Rossum
e472933e27
Bill Janssen wrote:
...
Here's a patch which makes test_ssl a better player in the buildbots
environment. I deep-ended on "try-except-else" clauses.
2007-08-26 19:35:09 +00:00
Neal Norwitz
7fc8e2993a
Fail gracefully if the cert files cannot be created
2007-08-26 18:50:39 +00:00
Neal Norwitz
482043aed6
Reap children before the test starts so hopefully SocketServer
...
won't find any old children left around which causes an exception
in collect_children() and the test to fail.
2007-08-26 06:29:57 +00:00
Neal Norwitz
9a65c89ec0
Spell check (also americanify behaviour, it's almost 3 times as common)
2007-08-26 01:42:03 +00:00
Neal Norwitz
60b52bd4ed
Fix typo in docstring (missing c in reacquire)
2007-08-26 01:08:16 +00:00
Gregory P. Smith
4eb60e5330
keep setup.py from listing unneeded hash modules (_md5, _sha*) as
...
missing when they were not built because _hashlib with openssl provided
their functionality instead.
don't build bsddb185 if bsddb was built.
2007-08-26 00:26:00 +00:00
Neal Norwitz
8e58b34ee8
Try to get this test to pass for systems that do not have SO_REUSEPORT
2007-08-25 17:25:17 +00:00
Neal Norwitz
dc988119b5
Fix a few more variables to try to get this to compile with Visual Studio.
2007-08-25 16:58:09 +00:00
Neal Norwitz
ce7fa56aac
Fix test so it is skipped properly if there is no SSL support.
2007-08-25 16:54:38 +00:00
Neal Norwitz
049da9e1cf
Try to get this to build with Visual Studio by moving all the variable
...
declarations to the beginning of a scope.
2007-08-25 16:41:36 +00:00
Guido van Rossum
4f2c3ddca4
Server-side SSL and certificate validation, by Bill Janssen.
...
While cleaning up Bill's C style, I may have cleaned up some code
he didn't touch as well (in _ssl.c).
2007-08-25 15:08:43 +00:00
Nick Coghlan
1a42ece0c7
Fix bug 1764407 - the -i switch now does the right thing when using the -m switch
2007-08-25 10:50:41 +00:00
Nick Coghlan
b90f52e932
Revert compile.c changes that shouldn't have been included in previous checkin
2007-08-25 04:35:54 +00:00
Nick Coghlan
3af0e785e7
Revert misguided attempt at fixing incompatibility between -m and -i switches (better fix coming soon)
2007-08-25 04:32:07 +00:00
Collin Winter
68f525fdc8
Make test_structmembers pass when run with regrtests's -R flag.
2007-08-24 21:09:42 +00:00
Georg Brandl
c325556505
Port test_class to unittest. Patch #1671298 .
2007-08-24 19:33:53 +00:00
Georg Brandl
ff9b963387
Catch the correct errors.
2007-08-24 19:22:34 +00:00
Collin Winter
0f5e87a266
Convert test_pkg to use unittest.
2007-08-24 19:13:58 +00:00
Georg Brandl
fe3b4b9507
Convert test_linuxaudiodev to unittest. Fix a wrong finally clause in test_ossaudiodev.
2007-08-24 18:46:27 +00:00
Georg Brandl
e7445de2b1
Remove output file for test_ossaudiodev, also properly close the dsp object.
2007-08-24 18:35:27 +00:00
Georg Brandl
0c6a438aea
Remove test_rgbimg output file, there is no test_rgbimg.py.
2007-08-24 18:30:06 +00:00
Georg Brandl
d558f67d5d
Document new utility functions in test_support.
2007-08-24 18:27:43 +00:00
Georg Brandl
692bbc4790
Port test_frozen to unittest.
2007-08-24 18:22:54 +00:00
Georg Brandl
9f2b93e03a
Patch #1008 : port test_signal to unittest.
2007-08-24 18:07:52 +00:00
Georg Brandl
b3c572ba51
Fix #1012 : wrong URL to :mod:`site` in install/index.rst.
2007-08-24 17:46:54 +00:00
Georg Brandl
3376a9a711
Patch #1006 : port test_winreg to unittest.
2007-08-24 17:38:49 +00:00
Georg Brandl
94bda3a586
Bug #1011 : fix rfc822.Message.getheader docs.
2007-08-24 17:23:23 +00:00
Guido van Rossum
966bb8c59b
Fix silly typo in test name.
2007-08-24 14:53:14 +00:00
Georg Brandl
915c87d3e5
Bug #1765375 : fix stripping of unwanted LDFLAGS.
2007-08-24 11:47:37 +00:00
Georg Brandl
8ec5754086
uuid creation is now threadsafe, backport from py3k rev. 57375.
2007-08-24 06:10:01 +00:00
Gregory P. Smith
1042a4d719
Fix bug 1725856.
2007-08-24 05:11:38 +00:00
Georg Brandl
daa6f254c6
Patch #1779550 : remove redundant code in logging.
2007-08-23 21:55:57 +00:00
Georg Brandl
3761422749
Bug #1758696 : more info about descriptors.
2007-08-23 21:42:54 +00:00
Georg Brandl
604c121eee
Bug #1625381 : clarify match vs search introduction.
2007-08-23 21:36:05 +00:00
Georg Brandl
da5f16ab19
Bug #1688564 : document os.path.join's absolute path behavior in the docstring.
2007-08-23 21:27:57 +00:00
Georg Brandl
b7a837d81b
Bug #1734111 : document struct.Struct.size.
2007-08-23 21:21:36 +00:00
Georg Brandl
4ad9b8206c
Bug #1752332 : httplib no longer uses socket.getaddrinfo().
2007-08-23 21:18:44 +00:00
Georg Brandl
a3a68a0db4
Clarify wording a bit.
2007-08-23 20:55:44 +00:00
Georg Brandl
154cc588d3
Bug #1594966 : fix misleading usage example
2007-08-23 20:53:28 +00:00
Georg Brandl
3e0f735ce1
Bug #1694833 : fix imp.find_module() docs wrt. packages.
2007-08-23 20:50:23 +00:00
Georg Brandl
891f1d339b
Bug #1573854 : fix docs for sqlite3 cursor rowcount attr.
2007-08-23 20:40:01 +00:00
Georg Brandl
8d9e84554e
Bug #1697820 : document that the old slice protocol is still used by builtin types.
2007-08-23 20:35:00 +00:00
Georg Brandl
ac4018ae39
Use try-except-finally in contextlib.
2007-08-23 18:11:33 +00:00
Georg Brandl
add36e5fdf
Second half of #1752175 : #ifdef out references to PyImport_DynLoadFiletab if HAVE_DYNAMIC_LOADING is not defined.
2007-08-23 18:08:06 +00:00