mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
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
This commit is contained in:
parent
79d9c42b04
commit
f3f283a1cb
13 changed files with 40 additions and 37 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue