From: Neil Schemenauer Date: Mon, 18 Nov 2002 16:12:11 +0000 (+0000) Subject: check for str.__mod__ X-Git-Tag: v2.3c1~3369 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b981df99439c0c4ef4524354d8fd010ea440263f;p=thirdparty%2FPython%2Fcpython.git check for str.__mod__ --- diff --git a/Lib/test/string_tests.py b/Lib/test/string_tests.py index f2d685329e30..3eb8785374fd 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'),