mirror of
https://github.com/python/cpython.git
synced 2025-10-21 14:12:27 +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')],
|
'coding20731.py')],
|
||||||
stderr=subprocess.PIPE)
|
stderr=subprocess.PIPE)
|
||||||
err = sub.communicate()[1]
|
err = sub.communicate()[1]
|
||||||
self.assertEquals(err, b'')
|
self.assertEqual(sub.returncode, 0)
|
||||||
|
self.assertNotIn(b'SyntaxError', err)
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
unittest.main()
|
unittest.main()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue