summaryrefslogtreecommitdiffstats
path: root/Lib/test/string_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/string_tests.py')
-rw-r--r--Lib/test/string_tests.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/string_tests.py b/Lib/test/string_tests.py
index f2d6853..3eb8785 100644
--- a/Lib/test/string_tests.py
+++ b/Lib/test/string_tests.py
@@ -282,6 +282,9 @@ def run_method_tests(test):
test('zfill', '34', '34', 1)
test('zfill', '34', '0034', 4)
+ test('__mod__', '+%s+', '+hello+', 'hello')
+ test('__mod__', '+%d+', '+10+', 10)
+
# Encoding/decoding
codecs = [('rot13', 'uryyb jbeyq'),
('base64', 'aGVsbG8gd29ybGQ=\n'),