summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_getargs.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_getargs.py')
-rw-r--r--Lib/test/test_getargs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_getargs.py b/Lib/test/test_getargs.py
index 4ce34bc..21bfeeb 100644
--- a/Lib/test/test_getargs.py
+++ b/Lib/test/test_getargs.py
@@ -19,6 +19,6 @@ import marshal
if have_unicode:
try:
- marshal.loads(unicode(r"\222", 'unicode-escape'))
+ marshal.loads(str(r"\222", 'unicode-escape'))
except UnicodeError:
pass