mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
bpo-34011: Fixes missing venv files and other tests (GH-9458)
This commit is contained in:
parent
bc85475058
commit
f14c28f397
8 changed files with 146 additions and 112 deletions
|
@ -39,6 +39,9 @@ class BuildTestCase(support.TempdirManager,
|
|||
|
||||
for name in names:
|
||||
subcmd = cmd.get_finalized_command(name)
|
||||
if getattr(subcmd, '_unsupported', False):
|
||||
# command is not supported on this build
|
||||
continue
|
||||
self.assertTrue(subcmd.skip_build,
|
||||
'%s should take --skip-build from bdist' % name)
|
||||
|
||||
|
|
|
@ -5,6 +5,8 @@ from test.support import run_unittest
|
|||
from distutils.command.bdist_wininst import bdist_wininst
|
||||
from distutils.tests import support
|
||||
|
||||
@unittest.skipIf(getattr(bdist_wininst, '_unsupported', False),
|
||||
'bdist_wininst is not supported in this install')
|
||||
class BuildWinInstTestCase(support.TempdirManager,
|
||||
support.LoggingSilencer,
|
||||
unittest.TestCase):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue