Skip to content

Commit 992c3f6

Browse files
authored
[3.12] gh-108303: Move more typing related files to Lib/test/typinganndata (GH-111825) (#111859)
[3.12] gh-108303: Move more typing related files to Lib/test/typinganndata(GH-111825)
1 parent 42699c8 commit 992c3f6

File tree

4 files changed

+2
-3
lines changed

4 files changed

+2
-3
lines changed

Lib/test/test_type_aliases.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import types
33
import unittest
44
from test.support import check_syntax_error, run_code
5-
from test import mod_generics_cache
5+
from test.typinganndata import mod_generics_cache
66

77
from typing import Callable, TypeAliasType, TypeVar, get_args
88

Lib/test/test_typing.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,7 @@
4646
import types
4747

4848
from test.support import import_helper, captured_stderr, cpython_only
49-
from test import mod_generics_cache
50-
from test import _typed_dict_helper
49+
from test.typinganndata import mod_generics_cache, _typed_dict_helper
5150

5251

5352
CANNOT_SUBCLASS_TYPE = 'Cannot subclass special typing classes'

0 commit comments

Comments
 (0)