diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2002-03-29 16:00:13 (GMT) |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2002-03-29 16:00:13 (GMT) |
commit | c6c9c4a10f2999a2fbdf1e14a207bc478a296a69 (patch) | |
tree | eba60dc4ecb7282f58c8def944a26b07319f25bd /Lib/test/string_tests.py | |
parent | 3cef721b61082d7f586afb9eee624fed65c594de (diff) | |
download | cpython-c6c9c4a10f2999a2fbdf1e14a207bc478a296a69.zip cpython-c6c9c4a10f2999a2fbdf1e14a207bc478a296a69.tar.gz cpython-c6c9c4a10f2999a2fbdf1e14a207bc478a296a69.tar.bz2 |
Add two tests for string.zfill
Diffstat (limited to 'Lib/test/string_tests.py')
-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 e207566..4b2f0e3 100644 --- a/Lib/test/string_tests.py +++ b/Lib/test/string_tests.py @@ -215,6 +215,9 @@ def run_method_tests(test): test('endswith', 'ab', 0, 'ab', 0, 1) test('endswith', 'ab', 0, 'ab', 0, 0) + test('zfill', '34', '34', 1) + test('zfill', '34', '0034', 4) + # Encoding/decoding codecs = [('rot13', 'uryyb jbeyq'), ('base64', 'aGVsbG8gd29ybGQ=\n'), |