Mercurial > cpython-lru_cache-weakref
diff Lib/test/string_tests.py @ 26276:d66129b551db legacy-trunk
check for str.__mod__
| author | Neil Schemenauer <nascheme@enme.ucalgary.ca> |
|---|---|
| date | Mon, 18 Nov 2002 16:12:11 +0000 |
| parents | 762dd09edb83 |
| children | ba1578be5706 |
line wrap: on
line diff
--- a/Lib/test/string_tests.py Mon Nov 18 16:11:34 2002 +0000 +++ b/Lib/test/string_tests.py Mon Nov 18 16:12:11 2002 +0000 @@ -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'),
