From b981df99439c0c4ef4524354d8fd010ea440263f Mon Sep 17 00:00:00 2001 From: Neil Schemenauer Date: Mon, 18 Nov 2002 16:12:11 +0000 Subject: check for str.__mod__ --- Lib/test/string_tests.py | 3 +++ 1 file changed, 3 insertions(+) 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'), -- cgit v0.12