| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,4 +1,5 @@ | |||
| 1 | 1 | import base64 | |
| 2 | + import sys | ||
| 2 | 3 | import tarfile | |
| 3 | 4 | import time | |
| 4 | 5 | import zipfile | |
@@ -63,6 +64,9 @@ def test_repository_archive(project): | |||
| 63 | 64 | assert archive == archive2 | |
| 64 | 65 | ||
| 65 | 66 | ||
| 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") | ||
| 66 | 70 | @pytest.mark.parametrize( | |
| 67 | 71 | "format,assertion", | |
| 68 | 72 | [ | |
| Back | FazBrowse Home | New Git URL |
0 commit comments