Skip to content

Commit bcae1cd

Browse files
committed
Move format_helper into typemap.type_eval
1 parent ad93895 commit bcae1cd

12 files changed

+12
-12
lines changed

tests/test_call.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
Iter,
1212
)
1313

14-
from . import format_helper
14+
from typemap.type_eval import format_helper
1515

1616

1717
def func[*T, K: BaseTypedDict](

tests/test_dataclass_like.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ class Hero(Model):
132132
import textwrap
133133

134134
from typemap.type_eval import eval_typing
135-
from . import format_helper
135+
from typemap.type_eval import format_helper
136136

137137

138138
@pytest.mark.xfail(reason="UpateClass currently drops things")

tests/test_fastapilike_1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
Params,
2323
)
2424

25-
from . import format_helper
25+
from typemap.type_eval import format_helper
2626

2727

2828
class PropQuals(enum.Enum):

tests/test_fastapilike_2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ class Hero:
219219
import textwrap
220220

221221
from typemap.type_eval import eval_typing
222-
from . import format_helper
222+
from typemap.type_eval import format_helper
223223

224224

225225
def test_fastapi_like_0():

tests/test_qblike.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
GetArg,
1919
)
2020

21-
from . import format_helper
21+
from typemap.type_eval import format_helper
2222

2323

2424
class Property[T]:

tests/test_qblike_2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from typemap.type_eval import eval_call, eval_typing
66
import typemap_extensions as typing
77

8-
from . import format_helper
8+
from typemap.type_eval import format_helper
99

1010

1111
# Begin PEP section: Prisma-style ORMs

tests/test_qblike_3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
UpdateClass,
3232
)
3333

34-
from . import format_helper
34+
from typemap.type_eval import format_helper
3535

3636

3737
"""

tests/test_schemalike.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
Concat,
1515
)
1616

17-
from . import format_helper
17+
from typemap.type_eval import format_helper
1818

1919

2020
class Schema:

tests/test_ts_utility.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
import typemap_extensions as typing
1212
from typemap.type_eval import eval_typing
1313

14-
from . import format_helper
14+
from typemap.type_eval import format_helper
1515

1616

1717
# The "Todo" type from the TypeScript utility-types examples

tests/test_type_dir.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
Uppercase,
1717
)
1818

19-
from . import format_helper
19+
from typemap.type_eval import format_helper
2020

2121
type OrGotcha[K] = K | Literal['gotcha!']
2222

0 commit comments

Comments
 (0)