Skip project remotes test for python 3.12 (#12980)

`weasel` (using `cloudpathlib`) does not currently support remote paths
for python 3.12.
This commit is contained in:
Adriane Boyd 2023-09-13 13:16:05 +02:00 committed by GitHub
parent c2303858e6
commit 36d4767aca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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"