summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_asyncore.py
diff options
context:
space:
mode:
authorJosiah Carlson <josiah.carlson@gmail.com>2009-04-01 01:28:11 (GMT)
committerJosiah Carlson <josiah.carlson@gmail.com>2009-04-01 01:28:11 (GMT)
commitbb94d43dcdbfddff40f23944f0e4079f41a30421 (patch)
tree9e6990c90aeaf385b00fff5bf98a35198b9b49b2 /Lib/test/test_asyncore.py
parentd8fb6ac9da7256d6cdb22c4b4c2d7ed06fba60d6 (diff)
downloadcpython-bb94d43dcdbfddff40f23944f0e4079f41a30421.zip
cpython-bb94d43dcdbfddff40f23944f0e4079f41a30421.tar.gz
cpython-bb94d43dcdbfddff40f23944f0e4079f41a30421.tar.bz2
Fix for failing asyncore tests.
Diffstat (limited to 'Lib/test/test_asyncore.py')
-rw-r--r--Lib/test/test_asyncore.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_asyncore.py b/Lib/test/test_asyncore.py
index 72de850..13b39e1 100644
--- a/Lib/test/test_asyncore.py
+++ b/Lib/test/test_asyncore.py
@@ -298,6 +298,7 @@ class DispatcherTests(unittest.TestCase):
def test_unhandled(self):
d = asyncore.dispatcher()
+ d.ignore_log_types = ()
# capture output of dispatcher.log_info() (to stdout via print)
fp = StringIO()
@@ -313,7 +314,7 @@ class DispatcherTests(unittest.TestCase):
sys.stdout = stdout
lines = fp.getvalue().splitlines()
- expected = ['warning: unhandled exception',
+ expected = ['warning: unhandled incoming priority event',
'warning: unhandled read event',
'warning: unhandled write event',
'warning: unhandled connect event',