diff options
author | Raymond Hettinger <python@rcn.com> | 2006-09-04 15:32:48 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2006-09-04 15:32:48 (GMT) |
commit | a0c95fa4d8f6cdc500e29a390bc7357a74b69572 (patch) | |
tree | 955e931347c407f79eaaa80c5ef91dab38ab53a2 /Lib/test/string_tests.py | |
parent | bb0996ccc53c14956f3111500ccbadba98062e96 (diff) | |
download | cpython-a0c95fa4d8f6cdc500e29a390bc7357a74b69572.zip cpython-a0c95fa4d8f6cdc500e29a390bc7357a74b69572.tar.gz cpython-a0c95fa4d8f6cdc500e29a390bc7357a74b69572.tar.bz2 |
Fix endcase for str.rpartition()
Diffstat (limited to 'Lib/test/string_tests.py')
-rw-r--r-- | Lib/test/string_tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/string_tests.py b/Lib/test/string_tests.py index 73447ad..1aa68de 100644 --- a/Lib/test/string_tests.py +++ b/Lib/test/string_tests.py @@ -1069,7 +1069,7 @@ class MixinStrUnicodeUserStringTest: # from raymond's original specification S = 'http://www.python.org' self.checkequal(('http', '://', 'www.python.org'), S, 'rpartition', '://') - self.checkequal(('http://www.python.org', '', ''), S, 'rpartition', '?') + self.checkequal(('', '', 'http://www.python.org'), S, 'rpartition', '?') self.checkequal(('', 'http://', 'www.python.org'), S, 'rpartition', 'http://') self.checkequal(('http://www.python.', 'org', ''), S, 'rpartition', 'org') |