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

Commit95db680

Browse files
JohnVillalovosnejch
authored andcommitted
chore: fix pytest deprecation
pytest has changed the function argument name to `start_path`
1 parent0eb5eb0 commit95db680

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

‎tests/functional/conftest.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
importtime
77
importuuid
88
fromsubprocessimportcheck_output
9-
fromtypingimportOptional
9+
fromtypingimportOptional,Sequence
1010

1111
importpytest
1212
importrequests
@@ -145,7 +145,9 @@ def set_token(container: str, fixture_dir: pathlib.Path) -> str:
145145
returnoutput
146146

147147

148-
defpytest_report_collectionfinish(config,startdir,items):
148+
defpytest_report_collectionfinish(
149+
config:pytest.Config,start_path:pathlib.Path,items:Sequence[pytest.Item]
150+
):
149151
return [
150152
"",
151153
"Starting GitLab container.",

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp