Add debug print statement to see why tests fail on travis.
@@ -662,6 +662,9 @@ class PythonRunnerTestCase(RunnerTestCase, CleanDbTestCase):
self.assertTrue(expected_msg_5 in output['stderr'])
# Verify messages are not duplicated
+ print('===')
+ print(output['stderr'])
+ print('===')
self.assertEqual(len(output['stderr'].strip().split('\n')), 5)
# Only log messages with level info and above should be displayed
