mirror of
https://github.com/python/cpython.git
synced 2025-08-09 19:38:42 +00:00
[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)
This commit is contained in:
parent
42699c82d7
commit
992c3f6b51
4 changed files with 2 additions and 3 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -46,8 +46,7 @@ import weakref
|
||||||
import types
|
import types
|
||||||
|
|
||||||
from test.support import import_helper, captured_stderr, cpython_only
|
from test.support import import_helper, captured_stderr, cpython_only
|
||||||
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…
Add table
Add a link
Reference in a new issue