churchyard / rpms / python3

Forked from rpms/python3 4 years ago
Clone

Blame python-3.1.1-apply-our-changes-to-expected-shebang-for-test_imp.patch

a3483f9
--- Python-3.1.1/Lib/test/test_imp.py.apply-our-changes-to-expected-shebang	2009-10-27 18:05:53.539540149 -0400
a3483f9
+++ Python-3.1.1/Lib/test/test_imp.py	2009-10-27 18:06:12.138538965 -0400
a3483f9
@@ -52,7 +52,7 @@ class ImportTests(unittest.TestCase):
a3483f9
         self.assertNotEqual(fp, None)
a3483f9
         self.assertEqual(fp.encoding, "iso-8859-1")
a3483f9
         self.assertEqual(fp.tell(), 0)
a3483f9
-        self.assertEqual(fp.readline(), '#!/usr/bin/env python\n')
a3483f9
+        self.assertEqual(fp.readline(), '#!/usr/bin/python3.1\n')
a3483f9
         fp.close()
a3483f9
 
a3483f9
         fp, filename, info = imp.find_module("tokenize")