Skip to content

Commit ee873dd

Browse files
committed
Remove unnecessary scope="function" args
Per #8615 (comment)
1 parent 1cb61d6 commit ee873dd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/conftest.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ def monkeypatch_session():
348348
ProjectData = namedtuple("ProjectData", ["project", "latest_stable", "latest_pre"])
349349

350350

351-
@pytest.fixture(scope="function")
351+
@pytest.fixture
352352
def project_no_pre():
353353
project = ProjectFactory.create()
354354

@@ -359,7 +359,7 @@ def project_no_pre():
359359
return ProjectData(project=project, latest_stable=latest_stable, latest_pre=None)
360360

361361

362-
@pytest.fixture(scope="function")
362+
@pytest.fixture
363363
def project_with_pre():
364364
project = ProjectFactory.create()
365365

@@ -374,7 +374,7 @@ def project_with_pre():
374374
)
375375

376376

377-
@pytest.fixture(scope="function")
377+
@pytest.fixture
378378
def project_only_pre():
379379
project = ProjectFactory.create()
380380

0 commit comments

Comments
 (0)