diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2001-02-09 12:03:45 (GMT) |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2001-02-09 12:03:45 (GMT) |
commit | 83ff7498272c5f3acbda9b3cad0e2044ab7547c2 (patch) | |
tree | abf864e31d01e45936b80e72d273d5abc7393eb2 /Lib/test/test_strftime.py | |
parent | 2846b0ab417dbfc76d2f9b52b5613ad4fe8feb63 (diff) | |
download | cpython-83ff7498272c5f3acbda9b3cad0e2044ab7547c2.zip cpython-83ff7498272c5f3acbda9b3cad0e2044ab7547c2.tar.gz cpython-83ff7498272c5f3acbda9b3cad0e2044ab7547c2.tar.bz2 |
String method conversion.
Diffstat (limited to 'Lib/test/test_strftime.py')
-rwxr-xr-x | Lib/test/test_strftime.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_strftime.py b/Lib/test/test_strftime.py index 7f5cb80..fd024b9 100755 --- a/Lib/test/test_strftime.py +++ b/Lib/test/test_strftime.py @@ -2,7 +2,7 @@ # Sanity checker for time.strftime -import time, calendar, sys, string, os, re +import time, calendar, sys, os, re from test_support import verbose def main(): @@ -90,7 +90,7 @@ def strftest(now): if verbose: print "Strftime test, platform: %s, Python version: %s" % \ - (sys.platform, string.split(sys.version)[0]) + (sys.platform, sys.version.split()[0]) for e in expectations: try: |