Verify that the imp can find and load .py files.

This commit is contained in:
Jeremy Hylton 2002-05-30 17:10:20 +00:00
parent 1e9abf0efd
commit 40b7703f1c

View file

@ -69,3 +69,8 @@ try:
test_with_extension(ext)
finally:
del sys.path[0]
# Verify that the imp module can correctly load and find .py files
import imp
x = imp.find_module("os")
os = imp.load_module("os", *x)