summaryrefslogtreecommitdiffstats
path: root/Lib/packaging/tests/test_command_test.py
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2011-10-19 06:49:20 (GMT)
committerÉric Araujo <merwok@netwok.org>2011-10-19 06:49:20 (GMT)
commitf3f283a1cbd8b87c911edc0e93baf3d0bfec672e (patch)
tree83cd6088fa077e31c04c42148318539538d8ff65 /Lib/packaging/tests/test_command_test.py
parent79d9c42b04813dc81d91127ec0ffb6d4735e2c0e (diff)
downloadcpython-f3f283a1cbd8b87c911edc0e93baf3d0bfec672e.zip
cpython-f3f283a1cbd8b87c911edc0e93baf3d0bfec672e.tar.gz
cpython-f3f283a1cbd8b87c911edc0e93baf3d0bfec672e.tar.bz2
Clean up some idioms in packaging tests.
- Use os.makedirs (I had forgotten about it!) - Let TempdirManager.write_file call os.path.join for us - Remove custom command added by test_dist - Use a skip instead of hiding a method with an underscore - Address pyflakes warnings
Diffstat (limited to 'Lib/packaging/tests/test_command_test.py')
-rw-r--r--Lib/packaging/tests/test_command_test.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/packaging/tests/test_command_test.py b/Lib/packaging/tests/test_command_test.py
index 31566eb..7aa1f79 100644
--- a/Lib/packaging/tests/test_command_test.py
+++ b/Lib/packaging/tests/test_command_test.py
@@ -139,7 +139,8 @@ class TestTest(TempdirManager,
cmd.run()
self.assertEqual(['build has run'], record)
- def _test_works_with_2to3(self):
+ @unittest.skip('needs to be written')
+ def test_works_with_2to3(self):
pass
def test_checks_requires(self):