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

Commit1855279

Browse files
authored
Merge pull request#2163 from python-gitlab/jlvillal/lint_warning
test(api_func_v4): catch deprecation warning for `gl.lint()`
2 parents201298d +95fe924 commit1855279

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎tests/functional/api/test_gitlab.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ def test_markdown_in_project(gl, project):
5050

5151

5252
deftest_lint(gl):
53-
success,errors=gl.lint("Invalid")
53+
withpytest.deprecated_call():
54+
success,errors=gl.lint("Invalid")
5455
assertsuccessisFalse
5556
asserterrors
5657

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp