Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd5e7c3a

Browse files
committed
test: no need to group tests by needs_pth
1 parented516c4 commitd5e7c3a

File tree

3 files changed

+1
-5
lines changed

3 files changed

+1
-5
lines changed

‎pyproject.toml‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ strict = true
128128
# "virtualenv_test": because of an expensive session-scoped fixture
129129
# "compare_test": Because of shared-file manipulations (~/tests/actual/testing)
130130
# "get_zip_bytes_test": no idea why this one fails if run on separate workers
131-
# "needs_pth": tests that create .pth files in shared locations
132131

133132
# How come these warnings are suppressed successfully here, but not in conftest.py??
134133
filterwarnings = [

‎tests/test_oddball.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@ def test_unsets_trace() -> None:
616616
)
617617
assertexpected==out
618618

619-
@pytest.mark.skipif(env.METACOV,reason="Can't set trace functions duringmeta-coverage")
619+
@pytest.mark.skipif(env.METACOV,reason="Can't set trace functions duringmetacoverage")
620620
deftest_atexit_gettrace(self)->None:
621621
# This is not a test of coverage at all, but of our understanding
622622
# of this edge-case behavior in various Pythons.

‎tests/test_process.py‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1372,7 +1372,6 @@ def test_removing_directory_with_error(self) -> None:
13721372

13731373

13741374
@pytest.mark.skipif(env.METACOV,reason="Can't test subprocess pth file during metacoverage")
1375-
@pytest.mark.xdist_group(name="needs_pth")
13761375
classProcessStartupTest(CoverageTest):
13771376
"""Test that we can measure coverage in subprocesses."""
13781377

@@ -1594,7 +1593,6 @@ def test_subprocess_dir_with_source(self) -> None:
15941593

15951594

15961595
@pytest.mark.skipif(env.WINDOWS,reason="patch=execv isn't supported on Windows")
1597-
@pytest.mark.xdist_group(name="needs_pth")
15981596
classExecvTest(CoverageTest):
15991597
"""Test that we can measure coverage in subprocesses."""
16001598

@@ -1689,7 +1687,6 @@ class ProcessStartupWithSourceTest(CoverageTest):
16891687
@pytest.mark.parametrize("dashm", ["-m",""])
16901688
@pytest.mark.parametrize("package", ["pkg",""])
16911689
@pytest.mark.parametrize("source", ["main","sub"])
1692-
@pytest.mark.xdist_group(name="needs_pth")
16931690
deftest_pth_and_source_work_together(
16941691
self,
16951692
dashm:str,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp