[Supervisor-checkins] r907 - supervisor/trunk/src/supervisor/tests
Mike Naberezny
mike at maintainable.com
Sat Oct 24 22:11:33 EDT 2009
Author: Mike Naberezny <mike at maintainable.com>
Date: Sat Oct 24 22:11:33 2009
New Revision: 907
Log:
Be less specific when comparing the error message. Fixes a test failure on Python 2.3.
Modified:
supervisor/trunk/src/supervisor/tests/test_supervisorctl.py
Modified: supervisor/trunk/src/supervisor/tests/test_supervisorctl.py
==============================================================================
--- supervisor/trunk/src/supervisor/tests/test_supervisorctl.py (original)
+++ supervisor/trunk/src/supervisor/tests/test_supervisorctl.py Sat Oct 24 22:11:33 2009
@@ -821,7 +821,7 @@
'http://localhost:92491/mainlogtail')
self.assertEqual(error[0],
'http://localhost:92491/mainlogtail')
- for msg in ('Cannot connect', 'socket.error', '32', 'Broken pipe'):
+ for msg in ('Cannot connect', 'socket.error'):
self.assertTrue(msg in error[1])
def test_maintail_nobytes(self):
More information about the Supervisor-checkins
mailing list