26,40d25 < < class BuiltinCompileTests(unittest.TestCase): < < # Issue 3574. < def test_latin1(self): < # Allow compile() to read Latin-1 source. < source_code = '# coding: Latin-1\nu = "Ç"\n'.encode("Latin-1") < try: < code = compile(source_code, '', 'exec') < except SyntaxError: < self.fail("compile() cannot handle Latin-1 source") < ns = {} < exec(code, ns) < self.assertEqual('Ç', ns['u']) < 42c27 < support.run_unittest(PEP3120Test, BuiltinCompileTests) --- > support.run_unittest(PEP3120Test)