commit | d01e9aa0df6471befde64550db232968732d975e | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Tue Dec 30 04:20:58 1997 +0000 |
committer | Guido van Rossum <guido@python.org> | Tue Dec 30 04:20:58 1997 +0000 |
tree | 80cddecfcc7f7a04d27e55ba8de8d11f44baf0a9 | |
parent | 1cd6a457d9c4aa3cea72e7ccef4b008eb5e24654 [diff] [blame] |
the usual
diff --git a/Lib/dos-8x3/test_zli.py b/Lib/dos-8x3/test_zli.py index 62c2604..72dbcfa 100644 --- a/Lib/dos-8x3/test_zli.py +++ b/Lib/dos-8x3/test_zli.py
@@ -3,8 +3,11 @@ import imp import string -t = imp.find_module('test_zlib') -file = t[0] +try: + t = imp.find_module('test_zlib') + file = t[0] +except ImportError: + file = open(__file__) buf = file.read() * 8 file.close()