diff options
author | Neil Schemenauer <nascheme@enme.ucalgary.ca> | 2002-11-18 16:12:11 (GMT) |
---|---|---|
committer | Neil Schemenauer <nascheme@enme.ucalgary.ca> | 2002-11-18 16:12:11 (GMT) |
commit | b981df99439c0c4ef4524354d8fd010ea440263f (patch) | |
tree | 49fd49d582a278c2532e6a6c0c8b50f6750b31f8 /Lib | |
parent | ab9e4b76c227491fa454f9f13603453f168aad40 (diff) | |
download | cpython-b981df99439c0c4ef4524354d8fd010ea440263f.zip cpython-b981df99439c0c4ef4524354d8fd010ea440263f.tar.gz cpython-b981df99439c0c4ef4524354d8fd010ea440263f.tar.bz2 |
check for str.__mod__
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/string_tests.py | 3 |
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'), |