• Éric Araujo's avatar
    Refactor helpers for compiling the xx module in distutils tests. · 04612d60
    Éric Araujo yazdı
    I need to copy the xxmodule.c file in other tests, 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.
    
    I also took out the fixup_build_ext function, which is needed for tests
    to pass on Unix shared builds and Windows debug builds.
    
    Finally, I cleaned up a few things:
    - don’t remove directories in tearDown when the parent class’ tearDown
      has already registered the directories for removal
    - simplify restoration of sys.path
    - remove a few unused names found by pyflakes.
    04612d60
Adı
Son kayıt (commit)
Son güncelleme
Demo Loading commit data...
Doc Loading commit data...
Grammar Loading commit data...
Include Loading commit data...
Lib Loading commit data...
Mac Loading commit data...
Misc Loading commit data...
Modules Loading commit data...
Objects Loading commit data...
PC Loading commit data...
PCbuild Loading commit data...
Parser Loading commit data...
Python Loading commit data...
RISCOS Loading commit data...
Tools Loading commit data...
.bzrignore Loading commit data...
.hgeol Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
LICENSE Loading commit data...
Makefile.pre.in Loading commit data...
README Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
install-sh Loading commit data...
pyconfig.h.in Loading commit data...
setup.py Loading commit data...