mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
take into account shebang line change
This commit is contained in:
parent
b5cdf191ec
commit
25bfc55afe
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ class ImportTests(unittest.TestCase):
|
|||
self.assertNotEqual(fp, None)
|
||||
self.assertEqual(fp.encoding, "iso-8859-1")
|
||||
self.assertEqual(fp.tell(), 0)
|
||||
self.assertEqual(fp.readline(), '#!/usr/bin/env python\n')
|
||||
self.assertEqual(fp.readline(), '#!/usr/bin/env python3\n')
|
||||
fp.close()
|
||||
|
||||
fp, filename, info = imp.find_module("tokenize")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue