Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Lib/test/support/venv.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import sys
import sysconfig
import tempfile
import unittest
import venv


Expand Down Expand Up @@ -72,6 +73,9 @@ def run(self, *args, **subprocess_args):

class VirtualEnvironmentMixin:
def venv(self, name=None, **venv_create_args):
if sys.platform == 'cygwin':
raise unittest.SkipTest('FIXME: venv is broken on Cygwin')

venv_name = self.id()
if name:
venv_name += f'-{name}'
Expand Down
3 changes: 3 additions & 0 deletions Lib/test/test_venv.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@
except ImportError:
ctypes = None

if sys.platform == 'cygwin':
raise unittest.SkipTest('FIXME: venv is broken on Cygwin')

# Platforms that set sys._base_executable can create venvs from within
# another venv, so no need to skip tests that require venv.create().
requireVenvCreate = unittest.skipUnless(
Expand Down
Loading