summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_funcattrs.py
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2007-08-26 03:56:04 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2007-08-26 03:56:04 (GMT)
commit7e95befeda7c2c11a47001e96e2eb61ff5fd9287 (patch)
tree2ddaf124c627ea5c76bcc0e6fd86fd822b8b8755 /Lib/test/test_funcattrs.py
parentfe53713506b93692d0fe7c8b65efd0dc600854e1 (diff)
downloadcpython-7e95befeda7c2c11a47001e96e2eb61ff5fd9287.zip
cpython-7e95befeda7c2c11a47001e96e2eb61ff5fd9287.tar.gz
cpython-7e95befeda7c2c11a47001e96e2eb61ff5fd9287.tar.bz2
Use unicode and stop supporting str8
Diffstat (limited to 'Lib/test/test_funcattrs.py')
-rw-r--r--Lib/test/test_funcattrs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_funcattrs.py b/Lib/test/test_funcattrs.py
index 59f4613..528ca18 100644
--- a/Lib/test/test_funcattrs.py
+++ b/Lib/test/test_funcattrs.py
@@ -258,8 +258,8 @@ def test_func_globals():
def test_func_name():
def f(): pass
verify(f.__name__ == "f")
- f.__name__ = str8("g")
- verify(f.__name__ == str8("g"))
+ f.__name__ = "g"
+ verify(f.__name__ == "g")
cantset(f, "__globals__", 1)
cantset(f, "__name__", 1)
# test that you can access func.__name__ in restricted mode