mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-27 09:44:36 +03:00
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:
parent
c2303858e6
commit
36d4767aca
|
@ -1,4 +1,5 @@
|
||||||
import os
|
import os
|
||||||
|
import sys
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
|
@ -213,6 +214,9 @@ def test_project_clone(options):
|
||||||
assert (out / "README.md").is_file()
|
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):
|
def test_project_push_pull(project_dir):
|
||||||
proj = dict(SAMPLE_PROJECT)
|
proj = dict(SAMPLE_PROJECT)
|
||||||
remote = "xyz"
|
remote = "xyz"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user