churchyard / rpms / python3

Forked from rpms/python3 3 years ago
Clone

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

7eb10c
diff -up Python-3.2a1/Lib/test/test_imp.py.apply-our-changes-to-expected-shebang Python-3.2a1/Lib/test/test_imp.py
7eb10c
--- Python-3.2a1/Lib/test/test_imp.py.apply-our-changes-to-expected-shebang	2010-08-02 15:57:49.151002176 -0400
7eb10c
+++ Python-3.2a1/Lib/test/test_imp.py	2010-08-02 15:58:40.428010729 -0400
a3483f
@@ -52,7 +52,7 @@ class ImportTests(unittest.TestCase):
a3483f
         self.assertNotEqual(fp, None)
a3483f
         self.assertEqual(fp.encoding, "iso-8859-1")
a3483f
         self.assertEqual(fp.tell(), 0)
7eb10c
-        self.assertEqual(fp.readline(), '#!/usr/bin/env python3\n')
7eb10c
+        self.assertEqual(fp.readline(), '#!/usr/bin/python3.2\n')
a3483f
         fp.close()
a3483f
 
a3483f
         fp, filename, info = imp.find_module("tokenize")