diff options
author | Benjamin Peterson <benjamin@python.org> | 2010-06-27 20:54:28 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2010-06-27 20:54:28 (GMT) |
commit | a82addb5f335dbca8727f0598ee4855c23a5f708 (patch) | |
tree | 732cc96c51d6e075633c13ea0aec358d9d8ea48d /Lib/test/test_logging.py | |
parent | 28df4df079c8a5ca7173a170616548beead876c3 (diff) | |
download | cpython-a82addb5f335dbca8727f0598ee4855c23a5f708.zip cpython-a82addb5f335dbca8727f0598ee4855c23a5f708.tar.gz cpython-a82addb5f335dbca8727f0598ee4855c23a5f708.tar.bz2 |
Merged revisions 80712,81651 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80712 | vinay.sajip | 2010-05-03 10:11:53 -0500 (Mon, 03 May 2010) | 1 line
Issue #8576: logging updated to remove usage of find_unused_port().
........
r81651 | vinay.sajip | 2010-06-02 05:05:31 -0500 (Wed, 02 Jun 2010) | 1 line
Logging: improved error reporting for BaseConfigurator.resolve().
........
Diffstat (limited to 'Lib/test/test_logging.py')
-rw-r--r-- | Lib/test/test_logging.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py index c884d3e..d763459 100644 --- a/Lib/test/test_logging.py +++ b/Lib/test/test_logging.py @@ -1670,6 +1670,8 @@ class ConfigDictTest(BaseTest): t = logging.config.listen(port) t.start() t.ready.wait() + # Now get the port allocated + port = t.port t.ready.clear() try: sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) |