mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Rip out all the u"..." literals and calls to unicode().
This commit is contained in:
parent
572dbf8f13
commit
ef87d6ed94
200 changed files with 18074 additions and 18074 deletions
|
|
@ -318,7 +318,7 @@ if 1:
|
|||
self.assertNotEqual(id(f1.__code__), id(f2.__code__))
|
||||
|
||||
def test_unicode_encoding(self):
|
||||
code = u"# -*- coding: utf-8 -*-\npass\n"
|
||||
code = "# -*- coding: utf-8 -*-\npass\n"
|
||||
self.assertRaises(SyntaxError, compile, code, "tmp", "exec")
|
||||
|
||||
def test_subscripts(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue