8000 gh-108303: Move more `typing` related files to `Lib/test/typinganndat… · python/cpython@82e36db · GitHub
[go: up one dir, main page]

Skip to content

Commit 82e36db

Browse files
gh-108303: Move more typing related files to Lib/test/typinganndata (#111825)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
1 parent 8fbe531 commit 82e36db

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
@@ -45,8 +45,7 @@
4545
import types
4646

4747
from test.support import captured_stderr, cpython_only, infinite_recursion
48-
from test import mod_generics_cache
49-
from test import _typed_dict_helper
48+
from test.typinganndata import mod_generics_cache, _typed_dict_helper
5049

5150

5251
CANNOT_SUBCLASS_TYPE = 'Cannot subclass special typing classes'

0 commit comments

Comments
 (0)
0