mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Whitespace normalization.
This commit is contained in:
parent
f655328483
commit
8ac1495a6a
20 changed files with 100 additions and 101 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue