diff options
Diffstat (limited to 'Lib/test/string_tests.py')
-rw-r--r-- | Lib/test/string_tests.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/string_tests.py b/Lib/test/string_tests.py index 334a6b9..075e1c9 100644 --- a/Lib/test/string_tests.py +++ b/Lib/test/string_tests.py @@ -177,13 +177,13 @@ def run_method_tests(test): # strip/lstrip/rstrip with unicode arg if have_unicode: - test('strip', 'xyzzyhelloxyzzy', + test('strip', 'xyzzyhelloxyzzy', unicode('hello', 'ascii'), unicode('xyz', 'ascii')) - test('lstrip', 'xyzzyhelloxyzzy', + test('lstrip', 'xyzzyhelloxyzzy', unicode('helloxyzzy', 'ascii'), unicode('xyz', 'ascii')) test('rstrip', 'xyzzyhelloxyzzy', unicode('xyzzyhello', 'ascii'), unicode('xyz', 'ascii')) - test('strip', 'hello', + test('strip', 'hello', unicode('hello', 'ascii'), unicode('xyz', 'ascii')) test('swapcase', 'HeLLo cOmpUteRs', 'hEllO CoMPuTErS') |