commit | b981df99439c0c4ef4524354d8fd010ea440263f | [log] [tgz] |
---|---|---|
author | Neil Schemenauer <nascheme@enme.ucalgary.ca> | Mon Nov 18 16:12:11 2002 +0000 |
committer | Neil Schemenauer <nascheme@enme.ucalgary.ca> | Mon Nov 18 16:12:11 2002 +0000 |
tree | 49fd49d582a278c2532e6a6c0c8b50f6750b31f8 | |
parent | ab9e4b76c227491fa454f9f13603453f168aad40 [diff] [blame] |
check for str.__mod__
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 @@ 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'),