gh-108303: Move more typing
related files to Lib/test/typinganndata
(#111825)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
parent
8fbe5314cd
commit
82e36dba45
@ -2,7 +2,7 @@ import pickle
|
|||||||
import types
|
import types
|
||||||
import unittest
|
import unittest
|
||||||
from test.support import check_syntax_error, run_code
|
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
|
from typing import Callable, TypeAliasType, TypeVar, get_args
|
||||||
|
|
||||||
|
@ -45,8 +45,7 @@ import weakref
|
|||||||
import types
|
import types
|
||||||
|
|
||||||
from test.support import captured_stderr, cpython_only, infinite_recursion
|
from test.support import captured_stderr, cpython_only, infinite_recursion
|
||||||
from test import mod_generics_cache
|
from test.typinganndata import mod_generics_cache, _typed_dict_helper
|
||||||
from test import _typed_dict_helper
|
|
||||||
|
|
||||||
|
|
||||||
CANNOT_SUBCLASS_TYPE = 'Cannot subclass special typing classes'
|
CANNOT_SUBCLASS_TYPE = 'Cannot subclass special typing classes'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user