]> granicus.if.org Git - python/commit
Refactor the copying of xxmodule.c in distutils tests (#12141).
authorÉric Araujo <merwok@netwok.org>
Sat, 20 Aug 2011 04:27:18 +0000 (06:27 +0200)
committerÉric Araujo <merwok@netwok.org>
Sat, 20 Aug 2011 04:27:18 +0000 (06:27 +0200)
commitfba5a943427a71eb9a6e6855e107ddd83b14e68c
tree345c2c48fbac02255f54d679294292ab5e0a7256
parent2513123d660346d5982f17229f64e8b42753e837
Refactor the copying of xxmodule.c in distutils tests (#12141).

I need to copy this file in another test too, so I moved the support
code to distutils.tests.support and improved it:

- don’t skip when run from the Lib/distutils/tests directory
- use proper skip machinery instead of custom print/return/test suite
  fiddling.
Lib/distutils/tests/support.py
Lib/distutils/tests/test_build_ext.py