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

Commitd65ce36

Browse files
authored
Merge pull request#1782 from python-gitlab/jlvillal/repository_func_tests
chore: skip a functional test if not using >= py3.9
2 parents171df89 +ac9b595 commitd65ce36

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎tests/functional/api/test_repository.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
importbase64
2+
importsys
23
importtarfile
34
importtime
45
importzipfile
@@ -63,6 +64,9 @@ def test_repository_archive(project):
6364
assertarchive==archive2
6465

6566

67+
# NOTE(jlvillal): Support for using tarfile.is_tarfile() on a file or file-like object
68+
# was added in Python 3.9
69+
@pytest.mark.skipif(sys.version_info< (3,9),reason="requires python3.9 or higher")
6670
@pytest.mark.parametrize(
6771
"format,assertion",
6872
[

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp