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
|
|
@ -248,12 +248,12 @@ class TestCaseBase(unittest.TestCase):
|
|||
cf.set("sect", "option2", "splat")
|
||||
cf.set("sect", "option2", mystr("splat"))
|
||||
try:
|
||||
unicode
|
||||
str
|
||||
except NameError:
|
||||
pass
|
||||
else:
|
||||
cf.set("sect", "option1", unicode("splat"))
|
||||
cf.set("sect", "option2", unicode("splat"))
|
||||
cf.set("sect", "option1", str("splat"))
|
||||
cf.set("sect", "option2", str("splat"))
|
||||
|
||||
def test_read_returns_file_list(self):
|
||||
file1 = test_support.findfile("cfgparser.1")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue