import sys, os

if sys.version_info >= (2, 4):
    import doctest
else:
    raise ImportError("Python 2.4 doctest required")

sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))

def test():
    for doc in ['SQLObject.txt']:
        doctest.testfile(doc, optionflags=doctest.ELLIPSIS)

if __name__ == '__main__':
    test()

import sys, os

if sys.version_info >= (2, 4):
    import doctest
else:
    raise ImportError("Python 2.4 doctest required")

sys.path.insert(
    0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))

def test():
    for doc in ['SQLObject.txt']:
        doctest.testfile(doc, optionflags=doctest.ELLIPSIS)

if __name__ == '__main__':
    test()

Make sure checkout is first on sys.path
Make sure checkout is first on sys.path

git-svn-id: fe2f45b2405132b4a9af5caedfc153c2e6f542f4@894 95a46c32-92d2-0310-94a5-8d71aeb3d4b3
