From c8a692b4b46c694c40925ac067b5726a7125871c Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Wed, 19 Oct 2005 13:17:27 +0000 Subject: [PATCH] Bug fix [SVN r31385] --- test/test_builtin_converters.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/test_builtin_converters.py b/test/test_builtin_converters.py index ddff3c63..36154b8c 100644 --- a/test/test_builtin_converters.py +++ b/test/test_builtin_converters.py @@ -80,8 +80,8 @@ r""" 'yo, wassup?' >>> try: -... unicode -... catch: +... if unicode: pass +... except: ... print "u'yo, wassup?'" ... else: ... eval("rewrap_value_wstring(u'yo, wassup?')") @@ -90,8 +90,8 @@ u'yo, wassup?' test that overloading on unicode works: >>> try: -... unicode -... catch: +... if unicode: pass +... except: ... print "u'yo, wassup?'" ... else: ... eval("rewrap_value_string(u'yo, wassup?')")