--- /home/trentm/main/contrib/python/dist/src/Lib/test/test_import.py Wed Oct 18 16:37:15 2000 +++ /home/trentm/main/Apps/ActivePython/src/Core/Lib/test/test_import.py Wed Oct 18 16:32:15 2000 @@ -15,6 +15,11 @@ print >> f, "b =", b f.close() +# have to ensure that the directory in which TESTFN.py is created +# is on sys.path for the __import__ call +import sys +sys.path.append(os.path.dirname(os.curdir)) + try: try: mod = __import__(TESTFN)