| |
@@ -1,4 +1,4 @@
|
| |
- From d12ada760ddff3cbd77a04577561d32b4d36560a Mon Sep 17 00:00:00 2001
|
| |
+ From 9e70838d0fe10576c8e991a2ac8cff09eab8a4b8 Mon Sep 17 00:00:00 2001
|
| |
From: Lumir Balhar <lbalhar@redhat.com>
|
| |
Date: Tue, 10 Jan 2023 08:34:25 +0100
|
| |
Subject: [PATCH] fix tests
|
| |
@@ -10,7 +10,7 @@
|
| |
3 files changed, 5 insertions(+), 33 deletions(-)
|
| |
|
| |
diff --git a/pyproject.toml b/pyproject.toml
|
| |
- index 7cb8de3..fe0b77d 100644
|
| |
+ index c34eed8..4604c52 100644
|
| |
--- a/pyproject.toml
|
| |
+++ b/pyproject.toml
|
| |
@@ -72,9 +72,6 @@ optional-dependencies.docs = [
|
| |
@@ -31,7 +31,7 @@
|
| |
"pytest-mock>=3.12",
|
| |
"pytest-xdist>=3.5",
|
| |
"re-assert>=1.1",
|
| |
- @@ -160,7 +156,6 @@ paths.source = [
|
| |
+ @@ -162,7 +158,6 @@ paths.source = [
|
| |
report.fail_under = 88
|
| |
report.omit = ["src/tox/config/cli/for_docs.py", "tests/execute/local_subprocess/bad_process.py", "tests/type_check/*"]
|
| |
run.parallel = true
|
| |
@@ -40,13 +40,13 @@
|
| |
[tool.towncrier]
|
| |
name = "tox"
|
| |
diff --git a/src/tox/pytest.py b/src/tox/pytest.py
|
| |
- index 0563404..6cd08b8 100644
|
| |
+ index d734def..5e6df35 100644
|
| |
--- a/src/tox/pytest.py
|
| |
+++ b/src/tox/pytest.py
|
| |
@@ -17,7 +17,6 @@ from typing import TYPE_CHECKING, Any, Callable, Iterator, Protocol, Sequence, c
|
| |
|
| |
import pytest
|
| |
- from _pytest.fixtures import SubRequest
|
| |
+ from _pytest.fixtures import SubRequest # noqa: PLC2701
|
| |
-from devpi_process import IndexServer
|
| |
from virtualenv.info import fs_supports_symlink
|
| |
|
| |
@@ -81,7 +81,7 @@
|
| |
def _invalid_index_fake_port() -> int: # noqa: PT005
|
| |
with closing(socket.socket(socket.AF_INET, socket.SOCK_STREAM)) as socket_handler:
|
| |
diff --git a/tests/test_provision.py b/tests/test_provision.py
|
| |
- index 3b5bd19..442ac84 100644
|
| |
+ index 41eb630..1df7e76 100644
|
| |
--- a/tests/test_provision.py
|
| |
+++ b/tests/test_provision.py
|
| |
@@ -92,21 +92,9 @@ def tox_wheels(tox_wheel: Path, tmp_path_factory: TempPathFactory) -> list[Path]
|
| |
@@ -117,5 +117,5 @@
|
| |
ini = "[tox]\nrequires=demo-pkg-inline\n[testenv]\npackage=skip\n[testenv:.tox]\nplatform=wrong_platform"
|
| |
proj = tox_project({"tox.ini": ini})
|
| |
--
|
| |
- 2.43.0
|
| |
+ 2.44.0
|
| |
|
| |