mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
merge 3.3
This commit is contained in:
commit
126041844c
1 changed files with 2 additions and 1 deletions
|
@ -65,7 +65,8 @@ class SourceEncodingTest(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)
|
||||
|
||||
def test_error_message(self):
|
||||
compile(b'# -*- coding: iso-8859-15 -*-\n', 'dummy', 'exec')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue