Skip to content

Commit bcbf1a2

Browse files
committed
tidying
1 parent b2f496b commit bcbf1a2

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

tests/test_msgspec_factory.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
import datetime as dt
2-
import sys
32
from decimal import Decimal
43
from enum import Enum
5-
from typing import Annotated, Any, Generic, NewType, Optional, TypeVar, Union
4+
from typing import Annotated, Any, Generic, NewType, TypeVar
65
from uuid import UUID
76

87
import msgspec

tests/test_pydantic_factory.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,18 @@
22
import sys
33
import textwrap
44
from collections import Counter, deque
5-
from collections.abc import Sequence
5+
from collections.abc import Callable, Sequence
66
from dataclasses import dataclass
77
from datetime import date, datetime, time, timedelta
88
from decimal import Decimal
99
from ipaddress import IPv4Address, IPv4Interface, IPv4Network, IPv6Address, IPv6Interface, IPv6Network
1010
from pathlib import Path
1111
from types import ModuleType
12-
from typing import Annotated, Any, Literal, Optional, Union
13-
from collections.abc import Callable
12+
from typing import Annotated, Any, Literal, TypeAlias
1413
from uuid import UUID
1514

1615
import pytest
1716
from annotated_types import Ge, Gt, Le, LowerCase, Lt, MaxLen, MinLen, UpperCase
18-
from typing import TypeAlias
1917

2018
import pydantic
2119
from pydantic import (

0 commit comments

Comments
 (0)