[python] PY-84734 update bundled virtualenv to 20.38.0

(cherry picked from commit e7d3847d7900bf9b39477b6f063a6bcc94e3a6fd)

IJ-MR-192441

GitOrigin-RevId: d42138440fff6c84344fbade8b92f8647b69810e
This commit is contained in:
Pavel Karateev
2026-02-19 13:15:43 +01:00
committed by intellij-monorepo-bot
parent 78d99b88dd
commit 2f7eee6ad8
4 changed files with 31 additions and 5 deletions

Binary file not shown.

View File

@@ -0,0 +1,18 @@
from pathlib import Path
import pytest
@pytest.fixture
def community_python_root():
yield Path(__file__).parent.parent.parent
@pytest.fixture
def helpers_root(community_python_root):
yield community_python_root / "helpers"
@pytest.fixture
def helpers_test_resources_root(community_python_root):
yield community_python_root / "helpersTestResources"

View File

@@ -1,15 +1,12 @@
from pathlib import Path
from behave import configuration
from pycharm.behave_runner import _BehaveRunner
from pycharm.behave_runner import _register_null_formatter
def test_scenarios_to_run():
def test_scenarios_to_run(helpers_test_resources_root):
my_config = configuration.Configuration()
helpers_root = Path(__file__).parent.parent.parent.parent
path = helpers_root / "helpersTestResources" / "behave_examples" / "feature_with_rules"
path = helpers_test_resources_root / "behave_examples" / "feature_with_rules"
my_config.paths = [str(path / "rule.feature")]
base_dir = str(path)

View File

@@ -0,0 +1,11 @@
import subprocess
import sys
def test_virtualenv_py3_pyz_integrity(helpers_root):
result = subprocess.run(
[sys.executable, helpers_root / "virtualenv-py3.pyz", "--version"],
capture_output=True, text=True
)
assert result.returncode == 0
assert "virtualenv" in result.stdout