svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r81267 | victor.stinner | 2010-05-17 16:36:43 +0200 (lun., 17 mai 2010) | 2 lines
Improve test_exit() error message to analyze sparc failures
........
stderr=subprocess.PIPE)
stdout, stderr = process.communicate()
self.assertEqual(process.returncode, 1)
- self.assertTrue(stderr.startswith(expected), stderr)
+ self.assertTrue(stderr.startswith(expected),
+ "%r doesn't start with %r" % (stderr, expected))
# test that stderr buffer if flushed before the exit message is written
# into stderr