Blame SOURCES/00186-dont-raise-from-py_compile.patch

8dc7a2
diff -r 7fa3e824a4ee Lib/test/test_py_compile.py
8dc7a2
--- a/Lib/test/test_py_compile.py	Tue Oct 29 22:25:06 2013 -0400
8dc7a2
+++ b/Lib/test/test_py_compile.py	Wed Oct 30 11:08:31 2013 +0100
8dc7a2
@@ -54,6 +54,10 @@
8dc7a2
         self.assertTrue(os.path.exists(self.pyc_path))
8dc7a2
         self.assertFalse(os.path.exists(self.cache_path))
8dc7a2
 
8dc7a2
+    def test_bad_coding(self):
8dc7a2
+        bad_coding = os.path.join(os.path.dirname(__file__), 'bad_coding2.py')
8dc7a2
+        self.assertIsNone(py_compile.compile(bad_coding, doraise=False))
8dc7a2
+
8dc7a2
     def test_relative_path(self):
8dc7a2
         py_compile.compile(os.path.relpath(self.source_path),
8dc7a2
                            os.path.relpath(self.pyc_path))