-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Stefan Behnel wrote:
Tres Seaver wrote:
Maybe we should return the custom doctest and wire it in via a conditional import, e.g.::
try: import doctest except ImportError: # Python < 2.4 from lxml.bbb import doctest
The problem is not that it can't be imported in 2.3, it's rather that we seem to be using some features in the tests that were not yet available in 2.3's doctest module. That's harder to test...
I'm attaching a patch which "fixes" this, assuming that we put the non-standard-for-Python-2.3 doctest.py into a new 'lxml.bbb' package. It still segfaults, but the tests do import from the bbb module. Tres. - -- =================================================================== Tres Seaver +1 202-558-7113 tseaver@palladion.com Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFaHLP+gerLs4ltQ4RAgicAJ999DxRyl4qTkDicTFE677vkbna3QCfXMRt Bw1coTGxCWzmcsd/AqI5vAE= =D/Dz -----END PGP SIGNATURE-----