Skip to content

Commit 185ef6d

Browse files
committed
update test
1 parent a3caf80 commit 185ef6d

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

tests/serializers/test_model.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import dataclasses
22
import json
33
import platform
4-
import sys
54
import warnings
65
from random import randint
76
from typing import Any, ClassVar, Dict
@@ -1155,13 +1154,9 @@ class BModel(BasicModel): ...
11551154
s.to_python(value)
11561155

11571156

1158-
@pytest.mark.skipif(sys.version_info < (3, 11), reason='typing.Never was introduced in 3.11')
11591157
def test_never():
1160-
from typing import Never
1161-
11621158
class MyModel:
1163-
a: int
1164-
b: Never
1159+
pass
11651160

11661161
schema = core_schema.model_schema(
11671162
MyModel,

0 commit comments

Comments
 (0)