summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_cfgparser.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_cfgparser.py')
-rw-r--r--Lib/test/test_cfgparser.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_cfgparser.py b/Lib/test/test_cfgparser.py
index 85dfa32..360998e 100644
--- a/Lib/test/test_cfgparser.py
+++ b/Lib/test/test_cfgparser.py
@@ -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")