]> 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)
commitdef15dafdaad285f5e5dd392a1e5512730335591
tree4e62ac2026a65ac991714bebd80105e5660cabb1
parent57bee66c03192053f89e668eead3a99e154014d4
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