Skip to content

Commit

Permalink
Fix test failure on Python 2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
mnaberez committed Mar 20, 2016
1 parent cdada80 commit f455360
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion supervisor/tests/test_xmlrpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ def test_continue_request_500_if_rpcinterface_method_call_raises(self):
self.assertEqual(len(logdata), expected)
self.assertEqual(logdata[-2],
u'XML-RPC method called: supervisor.raiseError()')
self.assertTrue("unexpected exception" in logdata[1])
self.assertTrue("unexpected exception" in logdata[-1])
self.assertTrue(repr(data) in logdata[-1])
self.assertTrue("Traceback" in logdata[-1])
self.assertTrue("ValueError: error" in logdata[-1])
Expand Down

0 comments on commit f455360

Please sign in to comment.