summaryrefslogtreecommitdiff
path: root/distutils2/tests/test_database.py
diff options
context:
space:
mode:
author?ric Araujo <merwok@netwok.org>2011-11-12 00:33:44 +0100
committer?ric Araujo <merwok@netwok.org>2011-11-12 00:33:44 +0100
commitb160fba2c0cbad389abc1bdbc94c82c1a26edfc9 (patch)
treea29e937238959c3cf9aa095c185b6d635bacb4bb /distutils2/tests/test_database.py
parentece9f034f63215cffa88e1ccec68f70261e03c38 (diff)
downloaddisutils2-b160fba2c0cbad389abc1bdbc94c82c1a26edfc9.tar.gz
Clean up some idioms in tests.
- Use os.makedirs (I had forgotten about it!) - Let TempdirManager.write_file call os.path.join for us - Let TempdirManager.tearDown go back to the previous working directory for us - Use a skip instead of hiding a method with an underscore - Reset the finalized attribute of command objects before calling ensure_finalized a second time, so that it?s not a no-op - Address pyflakes warnings
Diffstat (limited to 'distutils2/tests/test_database.py')
0 files changed, 0 insertions, 0 deletions