FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Merge pull request #1782 from python-gitlab/jlvillal/repository_func_… · python-gitlab/python-gitlab@d65ce36 · GitHub

Repository navigation

Commit d65ce36

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 parents 171df89 + ac9b595 commit d65ce36

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎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
import base64
2+
import sys
23
import tarfile
34
import time
45
import zipfile
@@ -63,6 +64,9 @@ def test_repository_archive(project):
6364
assert archive == 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)

Back | FazBrowse Home | New Git URL