Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ jobs:
- '3.11'
- '3.12'
- '3.13'
- '3.13t'
- '3.14'
- '3.14t'
- 'pypy3.10'
Expand Down
3 changes: 1 addition & 2 deletions tests/validators/test_dataclasses.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

from pydantic_core import ArgsKwargs, SchemaValidator, ValidationError, core_schema

from ..conftest import Err, PyAndJson, assert_gc, is_free_threaded
from ..conftest import Err, PyAndJson, assert_gc


@pytest.mark.parametrize(
Expand Down Expand Up @@ -1516,7 +1516,6 @@ def test_dataclass_wrap_json():
assert v.validate_json('{"a": "hello", "b": true}', strict=True) == FooDataclass(a='hello', b=True)


@pytest.mark.xfail(is_free_threaded and sys.version_info < (3, 14), reason='GC leaks on free-threaded (<3.14)')
@pytest.mark.xfail(
condition=platform.python_implementation() == 'PyPy', reason='https://foss.heptapod.net/pypy/pypy/-/issues/3899'
)
Expand Down
4 changes: 1 addition & 3 deletions tests/validators/test_model_init.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
import platform
import sys
import weakref

import pytest
from dirty_equals import IsInstance

from pydantic_core import CoreConfig, SchemaValidator, core_schema

from ..conftest import assert_gc, is_free_threaded
from ..conftest import assert_gc


class MyModel:
Expand Down Expand Up @@ -412,7 +411,6 @@ def __init__(self, **kwargs):
assert calls == ["{'a': '1'}", "{'a': '1', 'x': 4}"]


@pytest.mark.xfail(is_free_threaded and sys.version_info < (3, 14), reason='GC leaks on free-threaded (<3.14)')
@pytest.mark.xfail(
condition=platform.python_implementation() == 'PyPy', reason='https://foss.heptapod.net/pypy/pypy/-/issues/3899'
)
Expand Down
3 changes: 1 addition & 2 deletions tests/validators/test_with_default.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
core_schema,
)

from ..conftest import PyAndJson, assert_gc, is_free_threaded
from ..conftest import PyAndJson, assert_gc


def test_typed_dict_default():
Expand Down Expand Up @@ -642,7 +642,6 @@ def val_func(v: Any, handler: core_schema.ValidatorFunctionWrapHandler) -> Any:
validator.validate_python('')


@pytest.mark.xfail(is_free_threaded and sys.version_info < (3, 14), reason='GC leaks on free-threaded (<3.14)')
@pytest.mark.xfail(
condition=platform.python_implementation() == 'PyPy', reason='https://foss.heptapod.net/pypy/pypy/-/issues/3899'
)
Expand Down
Loading