In my doctests, I get the following error under 2.5.
I'm on AMD64 in case that's of any interest.
Traceback (most recent call last):
File
"/var/tmp/python2.5-2.5b3-root/usr/lib64/python2.5/unittest.py",
line 260, in run
testMethod()
File
"/home/me/source/Python/lxml/lxml-HEAD/src/doctest.py",
line 2182, in runTest
test, out=new.write, clear_globs=False)
File
"/home/me/source/Python/lxml/lxml-HEAD/src/doctest.py",
line 1389, in run
return self.__run(test, compileflags, out)
File
"/home/me/source/Python/lxml/lxml-HEAD/src/doctest.py",
line 1280, in __run
got += _exception_traceback(exc_info)
File
"/home/me/source/Python/lxml/lxml-HEAD/src/doctest.py",
line 257, in _exception_traceback
traceback.print_exception(exc_type, exc_val,
exc_tb, file=excout)
File
"/var/tmp/python2.5-2.5b3-root/usr/lib64/python2.5/traceback.py",
line 125, in print_exception
print_tb(tb, limit, file)
File
"/var/tmp/python2.5-2.5b3-root/usr/lib64/python2.5/traceback.py",
line 69, in print_tb
line = linecache.getline(filename, lineno, f.f_globals)
File
"/var/tmp/python2.5-2.5b3-root/usr/lib64/python2.5/linecache.py",
line 14, in getline
lines = getlines(filename, module_globals)
TypeError: __patched_linecache_getlines() takes exactly
2 arguments (3 given)
|