2010/12/11 Vitja Makarov <[email protected]>: > 2010/12/11 Stefan Behnel <[email protected]>: >> Vitja Makarov, 11.12.2010 14:42: >>> 2010/12/11 Vitja Makarov: >>>> I would like to fix test runner for pyregr. >>>> >>>> Original python regrtest.py import module and run its test_main() if any. >>>> It's not a problem to do this in our test runner but I don't know yet >>>> how to get result back to . >>>> I think test_support.run_unittest and run_doctestcan should be patched. >>> >>> I've pushed support for this stuff here: >>> >>> https://github.com/vitek/cython/commit/1bcf08a87901265ad7dfe16e952c872c20869cea >>> >>> Here are results: >>> https://sage.math.washington.edu:8091/hudson/view/cython-generators/job/cython-vitek-tests-pyregr-py27-c/ >>> >>> 5675/283 was 3865/636 >> >> That's cool. Patch looks fine to me. >> >> >>> I think that doctests for pyregr should be disabled... they mostly >>> test python itself not cython >> >> *All* pyregr tests test mostly Python. I don't see why we should disable >> all doctests, some of them may still test compiled stuff. >> > > Ok. I'm now going to handle SkipTest and ResourceDenied exceptions >
Added. That was hard to make it work with both py2 and py3... -- vitja. _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
