Skip project remotes test for python 3.12

`weasel` (using `cloudpathlib`) does not currently support remote paths
for python 3.12.
This commit is contained in:
Adriane Boyd 2023-09-13 10:11:43 +02:00
parent c2303858e6
commit 2f70ffdacf

View File

@ -1,4 +1,5 @@
import os
import sys
from pathlib import Path
import pytest
@ -213,6 +214,9 @@ def test_project_clone(options):
assert (out / "README.md").is_file()
@pytest.mark.skipif(
sys.version_info >= (3, 12), reason="Python 3.12+ not supported for remotes"
)
def test_project_push_pull(project_dir):
proj = dict(SAMPLE_PROJECT)
remote = "xyz"