mirror of
https://github.com/python/cpython.git
synced 2025-10-17 20:28:43 +00:00
fix test on debug builds (closes #20731)
This commit is contained in:
parent
4f8e4c203b
commit
b77bf32685
1 changed files with 3 additions and 2 deletions
|
@ -64,7 +64,8 @@ class CodingTest(unittest.TestCase):
|
|||
'coding20731.py')],
|
||||
stderr=subprocess.PIPE)
|
||||
err = sub.communicate()[1]
|
||||
self.assertEquals(err, b'')
|
||||
self.assertEqual(sub.returncode, 0)
|
||||
self.assertNotIn(b'SyntaxError', err)
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue