[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:
Nikita Sobolev 2023-11-08 19:56:24 +03:00 committed by GitHub
parent 42699c82d7
commit 992c3f6b51
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 2 additions and 3 deletions

View file

@ -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

View file

@ -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'