summaryrefslogtreecommitdiffstats
path: root/Lib/test/string_tests.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2006-09-04 15:32:48 (GMT)
committerRaymond Hettinger <python@rcn.com>2006-09-04 15:32:48 (GMT)
commita0c95fa4d8f6cdc500e29a390bc7357a74b69572 (patch)
tree955e931347c407f79eaaa80c5ef91dab38ab53a2 /Lib/test/string_tests.py
parentbb0996ccc53c14956f3111500ccbadba98062e96 (diff)
downloadcpython-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.py2
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')