]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-108303: Move more `typing` related files to `Lib/test/typinganndata` (#111825)
authorNikita Sobolev <mail@sobolevn.me>
Wed, 8 Nov 2023 14:19:34 +0000 (17:19 +0300)
committerGitHub <noreply@github.com>
Wed, 8 Nov 2023 14:19:34 +0000 (14:19 +0000)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Lib/test/test_type_aliases.py
Lib/test/test_typing.py
Lib/test/typinganndata/_typed_dict_helper.py [moved from Lib/test/_typed_dict_helper.py with 100% similarity]
Lib/test/typinganndata/mod_generics_cache.py [moved from Lib/test/mod_generics_cache.py with 100% similarity]

index 8f0a998e1f3dc1786664ff5dc0a1cf0a5719c26b..9c325bc595f585a790e9aa805ac54a57cd7a428c 100644 (file)
@@ -2,7 +2,7 @@ import pickle
 import types
 import unittest
 from test.support import check_syntax_error, run_code
-from test import mod_generics_cache
+from test.typinganndata import mod_generics_cache
 
 from typing import Callable, TypeAliasType, TypeVar, get_args
 
index 6ff79e8eeed9aaa1650b64bef53b74140fbb1fe1..1e812e1d525a810cd05bb212174db3b8837225a3 100644 (file)
@@ -45,8 +45,7 @@ import weakref
 import types
 
 from test.support import captured_stderr, cpython_only, infinite_recursion
-from test import mod_generics_cache
-from test import _typed_dict_helper
+from test.typinganndata import mod_generics_cache, _typed_dict_helper
 
 
 CANNOT_SUBCLASS_TYPE = 'Cannot subclass special typing classes'