summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_userstring.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2002-08-09 01:37:06 (GMT)
committerRaymond Hettinger <python@rcn.com>2002-08-09 01:37:06 (GMT)
commitc35491ee3a0f3999791de83e65ef94994058ac5e (patch)
treeeb74cd0ee121ab16cae10271641729da8b28d629 /Lib/test/test_userstring.py
parent48923c5533865173894bb4b1d8f9851430f49f8b (diff)
downloadcpython-c35491ee3a0f3999791de83e65ef94994058ac5e.zip
cpython-c35491ee3a0f3999791de83e65ef94994058ac5e.tar.gz
cpython-c35491ee3a0f3999791de83e65ef94994058ac5e.tar.bz2
Moved inplace add and multiply methods from UserString to MutableString.
Closes SF Bug #592573 where inplace add mutated a UserString. Added unittests to verify the bug is cleared.
Diffstat (limited to 'Lib/test/test_userstring.py')
-rwxr-xr-xLib/test/test_userstring.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_userstring.py b/Lib/test/test_userstring.py
index 5492f2e..67fbb5c 100755
--- a/Lib/test/test_userstring.py
+++ b/Lib/test/test_userstring.py
@@ -42,3 +42,4 @@ def test(methodname, input, output, *args):
string_tests.run_method_tests(test)
string_tests.run_contains_tests(test)
+string_tests.run_inplace_tests(UserString)