diff options
author | Éric Araujo <merwok@netwok.org> | 2011-08-25 23:56:15 (GMT) |
---|---|---|
committer | Éric Araujo <merwok@netwok.org> | 2011-08-25 23:56:15 (GMT) |
commit | 04612d60929d5cda8d4cd215dfa2fc050d20b530 (patch) | |
tree | 808256f32d6ed2c21322ce403d33b20895cb00b6 /Lib/shelve.py | |
parent | 04295009b8d7be75d5e361d8f332b12a6418799a (diff) | |
download | cpython-04612d60929d5cda8d4cd215dfa2fc050d20b530.zip cpython-04612d60929d5cda8d4cd215dfa2fc050d20b530.tar.gz cpython-04612d60929d5cda8d4cd215dfa2fc050d20b530.tar.bz2 |
Refactor helpers for compiling the xx module in distutils tests.
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.
Diffstat (limited to 'Lib/shelve.py')
0 files changed, 0 insertions, 0 deletions