Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
cad3eb6d
Commit
cad3eb6d
authored
Jan 17, 2015
by
Ned Deily
Browse files
Options
Browse Files
Download
Plain Diff
Issue #23211: merge from 3.4
parents
9c13bd9a
1e012e6c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
Lib/test/test_logging.py
Lib/test/test_logging.py
+2
-2
Misc/NEWS
Misc/NEWS
+2
-0
No files found.
Lib/test/test_logging.py
View file @
cad3eb6d
...
...
@@ -926,10 +926,10 @@ class SMTPHandlerTest(BaseTest):
TIMEOUT = 8.0
def test_basic(self):
sockmap = {}
server = TestSMTPServer((
'localhost'
, 0), self.process_message, 0.001,
server = TestSMTPServer((
support.HOST
, 0), self.process_message, 0.001,
sockmap)
server.start()
addr = (
'localhost'
, server.port)
addr = (
support.HOST
, server.port)
h = logging.handlers.SMTPHandler(addr, 'me', 'you', 'Log',
timeout=self.TIMEOUT)
self.assertEqual(h.toaddrs, ['you'])
...
...
Misc/NEWS
View file @
cad3eb6d
...
...
@@ -1611,6 +1611,8 @@ Tests
- Issue #22770: Prevent some Tk segfaults on OS X when running gui tests.
- Issue #23211: Workaround test_logging failure on some OS X 10.6 systems.
Tools/Demos
-----------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment