forked from python/mypy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run some tests with new semantic analyzer (python#6335)
- Loading branch information
1 parent
615c207
commit 2532be6
Showing
5 changed files
with
93 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
"""This file exists as a temporary measure, and will be removed when new | ||
semantic analyzer is the default one. | ||
""" | ||
MYPY = False | ||
if MYPY: | ||
from typing_extensions import Final | ||
|
||
# Files to not run with new semantic analyzer. | ||
new_semanal_blacklist = [ | ||
'check-abstract.test', | ||
'check-async-await.test', | ||
'check-attr.test', | ||
'check-basic.test', | ||
'check-bound.test', | ||
'check-callable.test', | ||
'check-classes.test', | ||
'check-classvar.test', | ||
'check-class-namedtuple.test', | ||
'check-custom-plugin.test', | ||
'check-dataclasses.test', | ||
'check-default-plugin.test', | ||
'check-enum.test', | ||
'check-expressions.test', | ||
'check-fastparse.test', | ||
'check-final.test', | ||
'check-flags.test', | ||
'check-functions.test', | ||
'check-generics.test', | ||
'check-ignore.test', | ||
'check-incomplete-fixture.test', | ||
'check-incremental.test', | ||
'check-inference-context.test', | ||
'check-inference.test', | ||
'check-isinstance.test', | ||
'check-literal.test', | ||
'check-modules.test', | ||
'check-multiple-inheritance.test', | ||
'check-namedtuple.test', | ||
'check-newtype.test', | ||
'check-optional.test', | ||
'check-overloading.test', | ||
'check-protocols.test', | ||
'check-python2.test', | ||
'check-redefine.test', | ||
'check-semanal-error.test', | ||
'check-serialize.test', | ||
'check-statements.test', | ||
'check-tuples.test', | ||
'check-type-aliases.test', | ||
'check-typeddict.test', | ||
'check-typevar-values.test', | ||
'check-unions.test', | ||
'check-unreachable-code.test', | ||
'check-varargs.test', | ||
'deps-classes.test', | ||
'deps-expressions.test', | ||
'deps-generics.test', | ||
'deps-statements.test', | ||
'deps-types.test', | ||
'deps.test', | ||
'diff.test', | ||
'fine-grained-cache-incremental.test', | ||
'fine-grained-blockers.test', | ||
'fine-grained-cycles.test', | ||
'fine-grained-modules.test', | ||
'fine-grained.test', | ||
'semanal-abstractclasses.test', | ||
'semanal-basic.test', | ||
'semanal-modules.test', | ||
'semanal-classes.test', | ||
'semanal-classvar.test', | ||
'semanal-errors.test', | ||
'semenal-literal.test', | ||
'semanal-namedtuple.test', | ||
'semanal-statements.test', | ||
'semanal-symtable.test', | ||
'semanal-typealiases.test', | ||
'semanal-typeinfo.test', | ||
'semanal-types.test' | ||
] # type: Final |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters