mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Merged revisions 81267 via svnmerge from
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 ........
This commit is contained in:
parent
42db5c3033
commit
df47ffd773
1 changed files with 2 additions and 1 deletions
|
@ -144,7 +144,8 @@ class SysModuleTest(unittest.TestCase):
|
|||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue